<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Kartikeya Sharma</title>
    <description>The latest articles on DEV Community by Kartikeya Sharma (@kartikeyas00).</description>
    <link>https://dev.to/kartikeyas00</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F245768%2F8538b475-747e-4804-87aa-c2294ed0df1d.jpeg</url>
      <title>DEV Community: Kartikeya Sharma</title>
      <link>https://dev.to/kartikeyas00</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kartikeyas00"/>
    <language>en</language>
    <item>
      <title>Geographical Version of Schelling's segregation Model built with Python!</title>
      <dc:creator>Kartikeya Sharma</dc:creator>
      <pubDate>Fri, 17 Jan 2020 04:14:48 +0000</pubDate>
      <link>https://dev.to/kartikeyas00/geographical-version-of-schelling-s-segregation-model-built-with-python-3hbk</link>
      <guid>https://dev.to/kartikeyas00/geographical-version-of-schelling-s-segregation-model-built-with-python-3hbk</guid>
      <description>&lt;p&gt;Check out this desktop application I have built with PyQt5 and PyQtGraph &lt;a href="https://github.com/kartikeyas00/geo-schelling"&gt;https://github.com/kartikeyas00/geo-schelling&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;It allows to run the simulation for Schelling's segregation model on a real map. In this case, they are all 50 American states. &lt;/p&gt;

&lt;p&gt;Why I have built this app?&lt;br&gt;
The main motivation was that in lots of agent based modeling cases and especially in Schelling's model of segregation, geological or geographical version is not present or when they are present they are not very well implemented. I wanted to see the Schelling's model simulating on a real geography and the outcomes of the simulation as the model is based for real world. After implementing the model and visually seeing the result, I was able to conclude thaat how segregation can happen in the real world (Obviously if we leave certain factors alone) based on the Shelling's approach.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Answer: Pandas: shorten notation for simple operations on multiple columns</title>
      <dc:creator>Kartikeya Sharma</dc:creator>
      <pubDate>Tue, 08 Oct 2019 23:56:29 +0000</pubDate>
      <link>https://dev.to/kartikeyas00/answer-pandas-shorten-notation-for-simple-operations-on-multiple-columns-47je</link>
      <guid>https://dev.to/kartikeyas00/answer-pandas-shorten-notation-for-simple-operations-on-multiple-columns-47je</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pTF_nE4a--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/58295176/pandas-shorten-notation-for-simple-operations-on-multiple-columns/58295210#58295210" rel="noopener noreferrer"&gt;
              &lt;span class="title-flare"&gt;answer&lt;/span&gt; re:  Pandas: shorten notation for simple operations on multiple columns
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Oct  8 '19&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/58295176/pandas-shorten-notation-for-simple-operations-on-multiple-columns/58295210#58295210" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--5MiFESHx--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          2
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Rk_a5QFN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;You can easily do it like this&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;df[['A','B','C']] = df[['A','B','C']]/2
&lt;/code&gt;&lt;/pre&gt;

    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/58295176/pandas-shorten-notation-for-simple-operations-on-multiple-columns/58295210#58295210" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Sometime pandas just surprise you!&lt;/p&gt;

</description>
      <category>python</category>
      <category>pandas</category>
    </item>
  </channel>
</rss>
