<?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: New to ArcGIS Pro Notebooks in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/new-to-arcgis-pro-notebooks/m-p/1140271#M7081</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 13:36:35 GMT</pubDate>
    <dc:creator>MVAC</dc:creator>
    <dc:date>2022-02-03T13:36:35Z</dc:date>
    <item>
      <title>New to ArcGIS Pro Notebooks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/new-to-arcgis-pro-notebooks/m-p/1140230#M7079</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having some issues finding my way around the notebooks on pro. I created a geodataframe to then create a point feature class and add it to my gdb. But I cant find the way to create the point feature (and visualize it on a map on pro) and add it to my geodatabase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# imports
from shapely.geometry import Point
import pandas as pd
import geopandas as gpd

# stations coordinates
data = {'STATION': ['Attard', 'Gharb', 'Msida', 'Zejtun', 'St_Pauls_bay', 'Senglea'],
        'X': [14.45, 14.20, 14.49, 14.54, 14.41, 14.51],
        'Y': [35.89, 36.07, 35.99, 35.88, 35.95, 35.88]}

# turn the data into a Pandas DataFrame, column names are extracted automatically
df = pd.DataFrame(data)
print(df.head)

# use the coordinates to make shapely Point geometries
geometry = [Point(xy) for xy in zip(df['X'], df['Y'])]

# pandas DataFrame and shapely Points can together become a GeoPandas GeoDataFrame
maltaGDF = gpd.GeoDataFrame(df, geometry=geometry, crs = "EPSG:4326")
print(maltaGDF)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 11:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/new-to-arcgis-pro-notebooks/m-p/1140230#M7079</guid>
      <dc:creator>MVAC</dc:creator>
      <dc:date>2022-02-03T11:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: New to ArcGIS Pro Notebooks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/new-to-arcgis-pro-notebooks/m-p/1140259#M7080</link>
      <description>&lt;P&gt;The ArcGIS Python API has its own "flavor" of spatial dataframe, the &lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.features.toc.html#geoaccessor" target="_blank"&gt;GeoAccessor&lt;/A&gt;. If you're working within an ArcGIS environment, you're much better off using it as opposed to GeoPandas. A GeoAccessor can export directly to a geodatabase for use in a map.&lt;/P&gt;&lt;P&gt;For the visualization portion, however, you'll need to make use of &lt;STRONG&gt;arcpy&lt;/STRONG&gt;. The ArcGIS Python API is great for lots of things, but not for interfacing with Pro. Specifically, you should look at &lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/mapping/introduction-to-arcpy-mp.htm" target="_blank"&gt;arcpy.mp &lt;/A&gt;for working with maps.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 13:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/new-to-arcgis-pro-notebooks/m-p/1140259#M7080</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2022-02-03T13:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: New to ArcGIS Pro Notebooks</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/new-to-arcgis-pro-notebooks/m-p/1140271#M7081</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 13:36:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/new-to-arcgis-pro-notebooks/m-p/1140271#M7081</guid>
      <dc:creator>MVAC</dc:creator>
      <dc:date>2022-02-03T13:36:35Z</dc:date>
    </item>
  </channel>
</rss>

