<?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: Read local CSV file in ArcGIS Notebooks Questions</title>
    <link>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696508#M1035</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294090"&gt;@JaredPilbeam2&lt;/a&gt;&amp;nbsp;I found a more definitive answer for you in another post. As of June 2025, what you are trying to do &lt;U&gt;&lt;STRONG&gt;is not&lt;/STRONG&gt;&lt;/U&gt; possible with AGO Notebooks and custom web tools in Experience Builder. See the comment from &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/321441"&gt;@xlt208&lt;/a&gt;&amp;nbsp;on 06/03/2025.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/td-p/1575550" target="_blank"&gt;https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/td-p/1575550&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Apr 2026 19:13:38 GMT</pubDate>
    <dc:creator>Joshua-Young</dc:creator>
    <dc:date>2026-04-15T19:13:38Z</dc:date>
    <item>
      <title>Read local CSV file</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696462#M1032</link>
      <description>&lt;P&gt;This post was never resolved:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-notebooks-questions/trouble-with-reading-local-csv-data-into-notebooks/td-p/1383788" target="_blank"&gt;https://community.esri.com/t5/arcgis-notebooks-questions/trouble-with-reading-local-csv-data-into-notebooks/td-p/1383788&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have the same question. I have a very simple script I'm attempting to use as a custom web tool in ExB. It works fine in Pro. In AGOL Notebooks I'm having trouble getting past the first function. It's probably because I'm not too familiar with Notebooks within AGOL.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;''' 
csv file &amp;gt; df &amp;gt; gdf &amp;gt; shp
'''
from arcgis.gis import GIS
gis = GIS("home")
import pandas as pd
import geopandas as gpd

# read csv file
f = r'C:\Users\me\Report_updated.csv'
file = pd.read_csv(f)

# convert to dataframe
df = pd.DataFrame(file)

# geocode
gdf = gpd.tools.geocode(df['ADDRESS'])

# extract lat long from geometry and put into dataframe
df['latitude'],df['longitude'],df['geometry'] = gdf.geometry.y, gdf.geometry.x, gdf.geometry

# generate GeometryArray of shapely Point geometries from x, y(, z) coordinates.
gdf = gpd.GeoDataFrame(df, geometry=gpd.points_from_xy(df.longitude, df.latitude), crs="EPSG:4326") #crs is optional

# write to shapefile
gdf.to_csv(r'C:\Users\me\report_geocode.csv')&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've put the file in local directories, network directories, used a relative path, reversed the slashes, etc... I usually end up with FileNotFoundError.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 16:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696462#M1032</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2026-04-15T16:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read local CSV file</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696466#M1033</link>
      <description>&lt;P&gt;You have to put the CSV file somewhere that ArcGIS Online (AGO) Notebooks can access. It cannot access your local file system. I would recommend seeing this post&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-api-for-python-questions/writing-a-csv-from-python-notebook/td-p/1649778" target="_blank"&gt;https://community.esri.com/t5/arcgis-api-for-python-questions/writing-a-csv-from-python-notebook/td-p/1649778&lt;/A&gt;&amp;nbsp;about the topic. I know they are talking about writing data but it discusses AGO Notebooks file access.&lt;/P&gt;&lt;P&gt;You could upload the CSV to the AGO Notebooks file system, publish it as an item on AGO, or host it on a online file share (provided you can authenticate to it in Notebooks).&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 17:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696466#M1033</guid>
      <dc:creator>Joshua-Young</dc:creator>
      <dc:date>2026-04-15T17:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Read local CSV file</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696483#M1034</link>
      <description>&lt;P&gt;Ok, thanks, useful info. It doesn't sound like this will work for what I'm trying to do. Ultimately, there will be non-GIS users uploading csv files in the ExB app from who knows what directories.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 18:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696483#M1034</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2026-04-15T18:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Read local CSV file</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696508#M1035</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294090"&gt;@JaredPilbeam2&lt;/a&gt;&amp;nbsp;I found a more definitive answer for you in another post. As of June 2025, what you are trying to do &lt;U&gt;&lt;STRONG&gt;is not&lt;/STRONG&gt;&lt;/U&gt; possible with AGO Notebooks and custom web tools in Experience Builder. See the comment from &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/321441"&gt;@xlt208&lt;/a&gt;&amp;nbsp;on 06/03/2025.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/td-p/1575550" target="_blank"&gt;https://community.esri.com/t5/arcgis-experience-builder-questions/how-to-allow-local-file-upload-with-the-analysis/td-p/1575550&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 19:13:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696508#M1035</guid>
      <dc:creator>Joshua-Young</dc:creator>
      <dc:date>2026-04-15T19:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Read local CSV file</title>
      <link>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696519#M1036</link>
      <description>&lt;P data-unlink="true"&gt;Thanks for that. I'm forced to find an alternative to the Add Data Tool in ExB. It has a &lt;A href="https://my.esri.com/#/support/bugs/bugs?bugNumber=BUG-000184028" target="_self"&gt;BUG&lt;/A&gt; which stopped it from uploading a csv with a field labeled Address.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2026 19:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-notebooks-questions/read-local-csv-file/m-p/1696519#M1036</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2026-04-15T19:34:06Z</dc:date>
    </item>
  </channel>
</rss>

