<?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: ArcGIS Pro Jupyter Notebook Pandas Table display in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145928#M51723</link>
    <description>&lt;P&gt;You know that pandas/geopandas operations generally return a &lt;EM&gt;new&lt;/EM&gt; dataset and don't alter the &lt;EM&gt;existing&lt;/EM&gt; dataset...? Unless that method accepts an &lt;FONT face="courier new,courier"&gt;inplace&lt;/FONT&gt; argument.&lt;/P&gt;&lt;P&gt;So&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df = df.replace(etc...)  # returns new dataset, assigns it to new df variable.
df.drop(etc...) # returns  new dataset, isn't assigned to any variable so just goes out of scope and is deleted
df  # still has the objectid, shape cols because you haven't altered the df variable.
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 19 Feb 2022 08:51:28 GMT</pubDate>
    <dc:creator>Luke_Pinner</dc:creator>
    <dc:date>2022-02-19T08:51:28Z</dc:date>
    <item>
      <title>ArcGIS Pro Jupyter Notebook Pandas Table display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145337#M51663</link>
      <description>&lt;P&gt;I am trying to display a table in Jupyter Notebook with Panadas.&lt;/P&gt;&lt;P&gt;Goal&lt;/P&gt;&lt;P&gt;Update Fields, 1 to Yes, and Null/Nan to blank AND hide OBJECT ID, ShapeLength then export PNG if possible of styled Panda table.&lt;/P&gt;&lt;P&gt;Seems the df display is temporary.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSpadi_0-1645128243426.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34273i8D77F70FB88C3ACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChrisSpadi_0-1645128243426.png" alt="ChrisSpadi_0-1645128243426.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ChrisSpadi_0-1645128243426.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Haven't been able to find solution&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 20:06:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145337#M51663</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-02-17T20:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Jupyter Notebook Pandas Table display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145435#M51672</link>
      <description>&lt;P&gt;I am aware the pandas replace and drop are not permanently updating the fc table, but would like if I could update the cells and hide the fields at the same time so both appear on one table.&lt;/P&gt;&lt;P&gt;Goal would be to export the panada table as PDF or PNG, if it doesn't require too much scripting? Any ideas are welcome. thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 23:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145435#M51672</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-02-17T23:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Jupyter Notebook Pandas Table display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145514#M51678</link>
      <description>&lt;P&gt;You're generating new dfs. Use something like&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df = df.replace(etc...)
df  # show in notebook
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 07:52:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145514#M51678</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2022-02-18T07:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Jupyter Notebook Pandas Table display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145737#M51706</link>
      <description>&lt;P&gt;replace and drop updates dont appear as before and the graphic df becomes text df with same issue (shows object ID, Shape, and doesn't update values).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSpadi_0-1645209005939.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34367iEFEFB63E5317FAE2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChrisSpadi_0-1645209005939.png" alt="ChrisSpadi_0-1645209005939.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ChrisSpadi_0-1645209005939.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 18:32:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145737#M51706</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-02-18T18:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Jupyter Notebook Pandas Table display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145928#M51723</link>
      <description>&lt;P&gt;You know that pandas/geopandas operations generally return a &lt;EM&gt;new&lt;/EM&gt; dataset and don't alter the &lt;EM&gt;existing&lt;/EM&gt; dataset...? Unless that method accepts an &lt;FONT face="courier new,courier"&gt;inplace&lt;/FONT&gt; argument.&lt;/P&gt;&lt;P&gt;So&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df = df.replace(etc...)  # returns new dataset, assigns it to new df variable.
df.drop(etc...) # returns  new dataset, isn't assigned to any variable so just goes out of scope and is deleted
df  # still has the objectid, shape cols because you haven't altered the df variable.
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 08:51:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1145928#M51723</guid>
      <dc:creator>Luke_Pinner</dc:creator>
      <dc:date>2022-02-19T08:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Jupyter Notebook Pandas Table display</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1147054#M51877</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import pandas as pd
from arcgis.features import GeoAccessor, GeoSeriesAccessor
data = "C://Users//cspadi//Desktop//Water Design Environmental//Design Environmental.gdb//UnionWater"
df = pd.DataFrame.spatial.from_featureclass(data) 
df.sort_values("ProjectSection", inplace=True) 
df.drop(['OBJECTID', 'SHAPE'], axis=1, inplace=True)
df.style.hide_index()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Was able to figure it out after looking into the pandas documentation, probably a cleaner way to achieve it but this works if anyone is interested&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSpadi_0-1645635765654.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/34766i62EF8DF704346AA3/image-size/large?v=v2&amp;amp;px=999" role="button" title="ChrisSpadi_0-1645635765654.png" alt="ChrisSpadi_0-1645635765654.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ChrisSpadi_0-1645635765654.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 19:49:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-jupyter-notebook-pandas-table-display/m-p/1147054#M51877</guid>
      <dc:creator>ChrisSpadi</dc:creator>
      <dc:date>2022-02-23T19:49:46Z</dc:date>
    </item>
  </channel>
</rss>

