<?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 IndexError trying to write spatial dataframe to feature in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879880#M5061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so there is something wrong with this dataframe, that it seems i cant see.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 24px;"&gt;&lt;TH style="width: 7.6537%; height: 24px;"&gt;&lt;/TH&gt;&lt;TH style="width: 26.4743%; height: 24px;"&gt;SOURCE&lt;/TH&gt;&lt;TH style="width: 18.4442%; height: 24px;"&gt;Change&lt;/TH&gt;&lt;TH style="width: 41.9072%; height: 24px;"&gt;SHAPE&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 17px;"&gt;&lt;TD style="width: 7.6537%; height: 17px;"&gt;1&lt;/TD&gt;&lt;TD style="width: 26.4743%; height: 17px;"&gt;file_c&lt;/TD&gt;&lt;TD style="width: 18.4442%; height: 17px;"&gt;-0.29&lt;/TD&gt;&lt;TD style="width: 41.9072%; height: 17px;"&gt;&lt;PRE style="background-color: #ffffff; border: 0px; padding: 1px 0px;"&gt;{'rings': [[[1788402.41, 13301439.29...&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14px;"&gt;&lt;TD style="width: 7.6537%; height: 14px;"&gt;2&lt;/TD&gt;&lt;TD style="width: 26.4743%; height: 14px;"&gt;file_c&lt;/TD&gt;&lt;TD style="width: 18.4442%; height: 14px;"&gt;-0.24&lt;/TD&gt;&lt;TD style="width: 41.9072%; height: 14px;"&gt;&lt;PRE style="background-color: #ffffff; border: 0px; padding: 1px 0px;"&gt;{'rings': [[[1788428.41, 13301463.29...&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24px;"&gt;&lt;TD style="width: 7.6537%; height: 24px;"&gt;5&lt;/TD&gt;&lt;TD style="width: 26.4743%; height: 24px;"&gt;file_c&lt;/TD&gt;&lt;TD style="width: 18.4442%; height: 24px;"&gt;-0.24&lt;/TD&gt;&lt;TD style="width: 41.9072%; height: 24px;"&gt;&lt;PRE style="background-color: #ffffff; border: 0px; padding: 1px 0px;"&gt;{'rings': [[[1788447.41, 13301429.29...&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to write this to a featureclass&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;df&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatial&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;to_featureclass&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"C:\tmp\sample.shp"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&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;I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;CODE&gt;IndexError&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; only integers&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; slices &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ellipsis &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; numpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;newaxis &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;`None`&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&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;What am i missing with this dataframe?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2019 16:52:45 GMT</pubDate>
    <dc:creator>CarlSunderman</dc:creator>
    <dc:date>2019-10-09T16:52:45Z</dc:date>
    <item>
      <title>IndexError trying to write spatial dataframe to feature</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879880#M5061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so there is something wrong with this dataframe, that it seems i cant see.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 24px;"&gt;&lt;TH style="width: 7.6537%; height: 24px;"&gt;&lt;/TH&gt;&lt;TH style="width: 26.4743%; height: 24px;"&gt;SOURCE&lt;/TH&gt;&lt;TH style="width: 18.4442%; height: 24px;"&gt;Change&lt;/TH&gt;&lt;TH style="width: 41.9072%; height: 24px;"&gt;SHAPE&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 17px;"&gt;&lt;TD style="width: 7.6537%; height: 17px;"&gt;1&lt;/TD&gt;&lt;TD style="width: 26.4743%; height: 17px;"&gt;file_c&lt;/TD&gt;&lt;TD style="width: 18.4442%; height: 17px;"&gt;-0.29&lt;/TD&gt;&lt;TD style="width: 41.9072%; height: 17px;"&gt;&lt;PRE style="background-color: #ffffff; border: 0px; padding: 1px 0px;"&gt;{'rings': [[[1788402.41, 13301439.29...&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 14px;"&gt;&lt;TD style="width: 7.6537%; height: 14px;"&gt;2&lt;/TD&gt;&lt;TD style="width: 26.4743%; height: 14px;"&gt;file_c&lt;/TD&gt;&lt;TD style="width: 18.4442%; height: 14px;"&gt;-0.24&lt;/TD&gt;&lt;TD style="width: 41.9072%; height: 14px;"&gt;&lt;PRE style="background-color: #ffffff; border: 0px; padding: 1px 0px;"&gt;{'rings': [[[1788428.41, 13301463.29...&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24px;"&gt;&lt;TD style="width: 7.6537%; height: 24px;"&gt;5&lt;/TD&gt;&lt;TD style="width: 26.4743%; height: 24px;"&gt;file_c&lt;/TD&gt;&lt;TD style="width: 18.4442%; height: 24px;"&gt;-0.24&lt;/TD&gt;&lt;TD style="width: 41.9072%; height: 24px;"&gt;&lt;PRE style="background-color: #ffffff; border: 0px; padding: 1px 0px;"&gt;{'rings': [[[1788447.41, 13301429.29...&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i try to write this to a featureclass&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;df&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;spatial&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;to_featureclass&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;r&lt;SPAN class="string token"&gt;"C:\tmp\sample.shp"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&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;I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-python line-numbers" style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;CODE&gt;IndexError&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; only integers&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; slices &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ellipsis &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;`&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; numpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;newaxis &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;`None`&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&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;What am i missing with this dataframe?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 16:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879880#M5061</guid>
      <dc:creator>CarlSunderman</dc:creator>
      <dc:date>2019-10-09T16:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: IndexError trying to write spatial dataframe to feature</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879881#M5062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if this is your only issue, but the syntax of you method call is incorrect:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;DL class="" style="box-sizing: border-box; margin: 0px 0px 24px; padding: 0px; list-style: none none; color: #404040; font-family: Lato, proxima-nova, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #fcfcfc; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;DT style="box-sizing: border-box; font-weight: bold; display: inline-block; margin: 0px 0px 6px; font-size: 14.4px; line-height: normal; background: #f0f0f0; color: #555555; border-top: none; padding: 6px; position: relative; border-right: none; border-bottom: none; border-image: initial; border-left: 3px solid #cccccc;"&gt;&lt;CODE class="" style="box-sizing: border-box; font-family: Consolas, 'Andale Mono WT', 'Andale Mono', 'Lucida Console', 'Lucida Sans Typewriter', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Liberation Mono', 'Nimbus Mono L', Monaco, 'Courier New', Courier, monospace; font-size: 14.4px; white-space: nowrap; max-width: 100%; background: transparent; border: none; padding: 0px; color: #000000; overflow-x: auto; font-weight: bold;"&gt;to_featureclass&lt;/CODE&gt;&lt;SPAN class="" style="box-sizing: border-box;"&gt;(&lt;/SPAN&gt;&lt;EM style="box-sizing: border-box;"&gt;out_location&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="box-sizing: border-box;"&gt;out_name&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="box-sizing: border-box;"&gt;overwrite=True&lt;/EM&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM style="box-sizing: border-box;"&gt;skip_invalid=True&lt;/EM&gt;&lt;SPAN class="" style="box-sizing: border-box;"&gt;)&lt;/SPAN&gt;&lt;/DT&gt;&lt;DD style="box-sizing: border-box; margin: 0px 0px 12px 24px;"&gt;&lt;P style="box-sizing: border-box; line-height: 24px; font-size: 16px; margin: 0px 0px 12px !important 0px;"&gt;converts a SpatialDataFrame to a feature class&lt;/P&gt;&lt;DIV class="" style="box-sizing: border-box; margin-bottom: 24px; max-width: 100%; overflow: visible !important;"&gt;&lt;TABLE border="1" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; margin-bottom: 24px; empty-cells: show; border: 1px solid #e1e4e5;"&gt;&lt;TBODY style="box-sizing: border-box;" valign="top"&gt;&lt;TR class="" style="box-sizing: border-box; height: 41px;"&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; height: 41px;"&gt;&lt;STRONG style="box-sizing: border-box; font-weight: bold;"&gt;Argument&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; height: 41px;"&gt;&lt;STRONG style="box-sizing: border-box; font-weight: bold;"&gt;Description&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="" style="box-sizing: border-box; height: 41px;"&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; height: 41px;"&gt;out_location&lt;/TD&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; height: 41px;"&gt;Required string. A save location workspace&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="" style="box-sizing: border-box; height: 41px;"&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; height: 41px;"&gt;out_name&lt;/TD&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: #f3f6f6; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; height: 41px;"&gt;Required string. The name of the feature class to save as&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="" style="box-sizing: border-box; height: 41px;"&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 0px solid #e1e4e5; height: 41px;"&gt;overwrite&lt;/TD&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: transparent; border-bottom: 1px solid #e1e4e5; border-left: 1px solid #e1e4e5; height: 41px;"&gt;Optional boolean. True means to erase and replace value, false means to append&lt;/TD&gt;&lt;/TR&gt;&lt;TR class="" style="box-sizing: border-box; height: 41px;"&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: #f3f6f6; border-bottom: 0px solid #e1e4e5; border-left: 0px solid #e1e4e5; height: 41px;"&gt;skip_invalids&lt;/TD&gt;&lt;TD style="box-sizing: border-box; vertical-align: middle; white-space: normal !important; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 16px; background-color: #f3f6f6; border-bottom: 0px solid #e1e4e5; border-left: 1px solid #e1e4e5; height: 41px;"&gt;Optional boolean. If True, any bad rows will be ignored.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;TABLE frame="void" rules="none" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; margin-bottom: 24px; empty-cells: show; border: none;"&gt;&lt;TBODY style="box-sizing: border-box;" valign="top"&gt;&lt;TR class="" style="box-sizing: border-box;"&gt;&lt;TH class="" style="box-sizing: border-box; font-size: 14.4px; margin: 0px; overflow: visible; padding: 8px 10px 8px 16px; text-align: left; white-space: nowrap; border-left-width: 0px;"&gt;Returns:&lt;/TH&gt;&lt;TD class="" style="box-sizing: border-box; vertical-align: middle; font-size: 14.4px; margin: 0px; overflow: visible; padding: 5px 16px 8px 0px; background-color: transparent; border-bottom: 0px none; border-left: none; border-top: none; border-right: none; border-image: initial; text-align: left;"&gt;string&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DD&gt;&lt;/DL&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 17:47:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879881#M5062</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-10-09T17:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: IndexError trying to write spatial dataframe to feature</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879882#M5063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it works as i posted on all other dataframes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perhaps those docs are out of date?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.toc.html" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.features.toc.html" rel="nofollow noopener noreferrer" target="_blank"&gt;arcgis.features module — arcgis 1.6.2 documentation&lt;/A&gt;&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;to_featureclass&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;location&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; overwrite&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;True&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
exports a geo enabled dataframe to a feature &lt;SPAN class="keyword token"&gt;class&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P style="font-size: 16px; margin: 0px 0px 12px !important 0px;"&gt;&lt;/P&gt;&lt;P style="font-size: 16px; margin: 0px 0px 12px !important 0px;"&gt;So like i said, there is something odd with this dataframe that i can't seem to find&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 11:05:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879882#M5063</guid>
      <dc:creator>CarlSunderman</dc:creator>
      <dc:date>2021-12-12T11:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: IndexError trying to write spatial dataframe to feature</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879883#M5064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My bad, i thought you were using the older spatial dataframe, not the current geo-enabled dataframe.&amp;nbsp; The syntax changed with the new dataframe.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are the dtypes of the dataframe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 19:18:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879883#M5064</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-10-09T19:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: IndexError trying to write spatial dataframe to feature</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879884#M5065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem, but as shocking as this may sound, i do believe that it was user error after all. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it was just where i was appending the dataframes earlier in the code. I still marked your response as helpful and correct.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 19:59:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879884#M5065</guid>
      <dc:creator>CarlSunderman</dc:creator>
      <dc:date>2019-10-09T19:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: IndexError trying to write spatial dataframe to feature</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879885#M5066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, it happens to the best of us.&amp;nbsp; Since my response didn't directly address your issue, I will unmark my answer as correct, but I will mark the thread as assumed answered to close it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&amp;nbsp; I forgot I am not a moderator in this space, so I can't make the change I stated above.&amp;nbsp; I can't wait to get off this old Jive product for GeoNet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 23:01:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/indexerror-trying-to-write-spatial-dataframe-to/m-p/879885#M5066</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-10-09T23:01:47Z</dc:date>
    </item>
  </channel>
</rss>

