<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: X/Y coordinates in pandas dataframe to map in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712166#M63</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to do this with a df that has more than 1000 rows? This script throws an error for that case..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Aug 2017 13:48:08 GMT</pubDate>
    <dc:creator>ManushiMajumdar</dc:creator>
    <dc:date>2017-08-29T13:48:08Z</dc:date>
    <item>
      <title>X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712159#M56</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to add x/y coordinate columns in a pandas dataframe to a map using the arcgis python api in jupyter notebook?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 14:20:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712159#M56</guid>
      <dc:creator>DavidRalston</dc:creator>
      <dc:date>2017-07-25T14:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712160#M57</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, an example is below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;[]
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;r'C:\xc\Presentations\GeoPython\Watson\insulators'
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #408080; margin: 0px;"&gt;# find locations of broken insulators
&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008000; font-weight: bold; margin: 0px;"&gt;for&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;file&lt;/SPAN&gt; &lt;SPAN class="" style="color: #aa22ff; font-weight: bold; margin: 0px;"&gt;in&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;listdir&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;):
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;path&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;+&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'&lt;/SPAN&gt;&lt;SPAN class="" style="color: #bb6622; font-weight: bold; margin: 0px;"&gt;\\&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;+&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;file
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #008000; font-weight: bold; margin: 0px;"&gt;if&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;is_broken&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;):
&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;append&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;get_location&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;filepath&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;))&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

&lt;SPAN class="" style="color: #408080; margin: 0px;"&gt;# import into ArcGIS as a layer
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;pd&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;DataFrame&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;from_records&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;locations&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;)
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;columns&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'x'&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;,&lt;/SPAN&gt; &lt;SPAN class="" style="color: #ba2121; margin: 0px;"&gt;'y'&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;]
&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;broken_insulators&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;=&lt;/SPAN&gt; &lt;SPAN class="" style="margin: 0px;"&gt;gis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;content&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666; margin: 0px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;import_data&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;df&lt;/SPAN&gt;&lt;SPAN class="" style="margin: 0px;"&gt;)

&lt;/SPAN&gt;m.add_layer(broken_insulators)&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;I have defined get_locations to return longitude, latitude:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #008000; font-weight: bold;"&gt;def&lt;/SPAN&gt; &lt;SPAN class="" style="color: blue;"&gt;get_location&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;filename&lt;/SPAN&gt;&lt;SPAN class=""&gt;):&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="" style="color: #008000; font-weight: bold;"&gt;return&lt;/SPAN&gt; &lt;SPAN class=""&gt;lon&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;lat&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:30:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712160#M57</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2021-12-12T06:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712161#M58</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome! My code looks like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;gis &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; GIS&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
data&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Longitude_X'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Latitude_Y'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
layer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;import_data&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;x&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
map &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'UK'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;add_layer&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'layer'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
map&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data is a pandas dataframe&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;FeatureCollection&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The layer is a feature collection, but the lat long data doesn't show on the map. Possible reasons why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712161#M58</guid>
      <dc:creator>DavidRalston</dc:creator>
      <dc:date>2021-12-12T06:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712162#M59</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting the columns of your dataframe to x and y. The following works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;from arcgis.gis import *
import pandas as pd

gis = GIS()
m = gis.map('UK')

locations = [(52.47867, -1.90848), 
 (51.50642, -0.12721),
 (53.79480, -1.54653),
 (53.47959, -2.24874)]

df = pd.DataFrame.from_records(locations)
df.columns = ['y', 'x']
cities = gis.content.import_data(df)
m.add_layer(cities)
m

I get the following output:
&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/364539_ukcities.PNG" style="height: auto;" /&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:50:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712162#M59</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2021-12-12T16:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712163#M60</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also had this problem in another topic on this group. The solution was the way Rohid said, but with coordinates in DD format. I had the list of coordinates in DMS format and it wasn`t working for me.&lt;/P&gt;&lt;P&gt;See here:&amp;nbsp;&lt;A href="https://community.esri.com/thread/198787-display-array-of-multiple-coordinates-xy-in-the-map-object"&gt;https://community.esri.com/thread/198787-display-array-of-multiple-coordinates-xy-in-the-map-object&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ionut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 14:27:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712163#M60</guid>
      <dc:creator>IonutAlixandroae4</dc:creator>
      <dc:date>2017-07-27T14:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712164#M61</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/rsingh-esristaff"&gt;rsingh-esristaff&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;How does this work it my data is in a different coordinate system (i.e. not WGS 1984)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 16:30:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712164#M61</guid>
      <dc:creator>GregoryBrunner</dc:creator>
      <dc:date>2017-07-27T16:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712165#M62</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The layer/FeatureCollection to be added should have a correct spatial reference set in that case. I don't have the code offhand to do this though. Another way would be to use arcgis.geometry.project to project the coordinates to WGS1984.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jul 2017 17:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712165#M62</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2017-07-27T17:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712166#M63</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to do this with a df that has more than 1000 rows? This script throws an error for that case..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 13:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712166#M63</guid>
      <dc:creator>ManushiMajumdar</dc:creator>
      <dc:date>2017-08-29T13:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712167#M64</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it`s something that deals with memory you should give it a try with increasing the iopub_data_rate_limit; i had this kind of problem with viewing more that a few pictures.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/jupyter/notebook/issues/2287" title="https://github.com/jupyter/notebook/issues/2287"&gt;iopub rate limits are too low by default, for visualization-heavy projects · Issue #2287 · jupyter/notebook · GitHub&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;jupyter notebook --NotebookApp.iopub_data_rate_limit=10000000000&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ionut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 14:15:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712167#M64</guid>
      <dc:creator>IonutAlixandroae4</dc:creator>
      <dc:date>2017-08-29T14:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712168#M65</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ionut!&lt;BR /&gt;It still gives me the error (Error Code: 401): UnAuthorized&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 14:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712168#M65</guid>
      <dc:creator>ManushiMajumdar</dc:creator>
      <dc:date>2017-08-29T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712169#M66</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there are more than 1000 rows, you should convert it to a SpatialDataFrame. You can do it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;df['SHAPE'] = df.apply(lambda row : arcgis.geometry.Geometry({'x': row['x'], 'y': row['y']}), axis=1 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;sdf = SpatialDataFrame(df)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;layer = gis.content.import_data(sdf, title='My Data')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;m.add_layer(layer) # add to map&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;find_nearest(layer, ...) # use for analysis&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 16:51:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712169#M66</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2017-08-29T16:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712170#M67</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rohit!&lt;BR /&gt;The exact same code snippet is giving me an error -&lt;/P&gt;&lt;PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;RuntimeError&lt;/SPAN&gt;: Service name 'a' already exists for 'bkrWlSKcjUDFDtgw'&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know how to debug it since I don't have services with that name/id..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 18:04:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712170#M67</guid>
      <dc:creator>ManushiMajumdar</dc:creator>
      <dc:date>2017-08-29T18:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: X/Y coordinates in pandas dataframe to map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712171#M68</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's a bug in import_data that creates a service by the name 'a' the first time it runs...&amp;nbsp;the fix will be in the next update, but as a workaround you should be able to search for that service and delete it each time you're calling import_data with a spatial dataframe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 18:26:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/x-y-coordinates-in-pandas-dataframe-to-map/m-p/712171#M68</guid>
      <dc:creator>RohitSingh2</dc:creator>
      <dc:date>2017-08-29T18:26:54Z</dc:date>
    </item>
  </channel>
</rss>

