<?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: Issue with Datetime Field After Converting Dataframe to FeatureSet in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1374422#M9583</link>
    <description>&lt;P&gt;I have just tested and can confirm that this issue is not happening in an older version of the API, so it is an issue with version 2.2.0.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Feb 2024 14:09:11 GMT</pubDate>
    <dc:creator>taylorrobinfemadhsgovRobin</dc:creator>
    <dc:date>2024-02-14T14:09:11Z</dc:date>
    <item>
      <title>Issue with Datetime Field After Converting Dataframe to FeatureSet</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1373700#M9581</link>
      <description>&lt;P&gt;I have noticed a bug while trying to convert a dataframe to a featureset using spatial.to_featureset(). It seems to be changing all my datetime fields to the same value in each feature. I have tested this with multiple dataframes, both regular pandas and spatially enabled.&lt;/P&gt;&lt;P&gt;I had been running a script that updates a feature service using data from a spatially enabled dataframe by converting it to a featureset and then using edit_features(). The script had been working fine until recently. I am thinking this issue started happening when we upgraded to ArcGIS Pro 3.2.0, but I have not confirmed that yet. Is this a known bug in the new api release? I am trying to roll back the version and test that theory but have been unable to so due to certain IT restrictions. Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 22:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1373700#M9581</guid>
      <dc:creator>taylorrobinfemadhsgovRobin</dc:creator>
      <dc:date>2024-01-23T22:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Datetime Field After Converting Dataframe to FeatureSet</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1374422#M9583</link>
      <description>&lt;P&gt;I have just tested and can confirm that this issue is not happening in an older version of the API, so it is an issue with version 2.2.0.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 14:09:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1374422#M9583</guid>
      <dc:creator>taylorrobinfemadhsgovRobin</dc:creator>
      <dc:date>2024-02-14T14:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Datetime Field After Converting Dataframe to FeatureSet</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1395456#M9759</link>
      <description>&lt;P&gt;Looks like the issue will be resolved in 2.3.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/1769" target="_blank"&gt;edit_features sets all dates to the same value in version 2.2 · Issue #1769 · Esri/arcgis-python-api · GitHub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 17:42:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1395456#M9759</guid>
      <dc:creator>taylorrobinfemadhsgovRobin</dc:creator>
      <dc:date>2024-03-13T17:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Datetime Field After Converting Dataframe to FeatureSet</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1399902#M9802</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using argis package version 2.0.1 and it appears to be an issue in this version. I have been trying to troubleshoot where the change in datetimes occurs in a scripl figuring it was earlier in the script tool but I've narrowed it down to later when I use the spatial.to_featureset()&lt;/P&gt;&lt;P&gt;I also found the link below on github.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to admit its pretty discouraging since I've been working to update code from arcpy to the API only to run into this bug.&lt;/P&gt;&lt;LI-CODE lang="c"&gt; df = s_lyr.query(where = AK_dt_fltr, out_sr = 26931).sdf
 gsa = GeoSeriesAccessor(df['SHAPE'])
 df['LENGTH_NM'] = gsa.get_length('PLANAR', 'NAUTICALMILES')
 s_lyr.edit_features(updates = df.spatial.to_featureset())&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-python-api/issues/1301" target="_blank"&gt;https://github.com/Esri/arcgis-python-api/issues/1301&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2024 00:58:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/issue-with-datetime-field-after-converting/m-p/1399902#M9802</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2024-03-23T00:58:31Z</dc:date>
    </item>
  </channel>
</rss>

