<?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 Missing exercise data for Visualizing Data Using ArcGIS API for Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/missing-exercise-data-for-visualizing-data-using/m-p/1179912#M7459</link>
    <description>&lt;P&gt;Hello, I am working my way through the&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://www.esri.com/training/Engine/defaultui/player/modern.html?configuration=ReturnUrl%7C&amp;amp;preventRightClick=False&amp;amp;cc=en-US&amp;amp;ieCompatibilityMode=none&amp;amp;cache=20.1.10.206&amp;amp;playerConfUrl=%2Ftraining%2FEngine%2FPlayerConfiguration.aspx&amp;amp;registration=InstanceId%7C0%21LearningObjectId%7C61dde71ef8883b7c7cfbe7c7-128891%21UserId%7Cmarcie.hogan&amp;amp;package=LearningObjectId%7C61dde71ef8883b7c7cfbe7c7-128891%21VersionId%7C1&amp;amp;tracking=True&amp;amp;forceReview=False" target="_self"&gt;Visualizing Data Using ArcGIS API for Python&lt;/A&gt; course, and downloaded the required sample data. I am watching the first video in which a shapefile for Liberia airports is mentioned, however I do not see that in the folder I downloaded. I am working with the python notebooks built in to ArcGIS Pro and got the error below when I tried to run the code. I am just starting out with using the ArcGIS pro api and I am not exactly sure what the error means. Thank you in advance for any help!&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;sedf&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;pd&lt;/SPAN&gt;.&lt;SPAN class=""&gt;DataFrame&lt;/SPAN&gt;.&lt;SPAN class=""&gt;spatial&lt;/SPAN&gt;.&lt;SPAN class=""&gt;from_featureclass&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'[the rest of my file path]\VisualPythonAPI\Liberia_Airports.shp'&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;SyntaxError&lt;/SPAN&gt;                               Traceback (most recent call last)
File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\ast.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;parse&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;35&lt;/SPAN&gt;:    &lt;SPAN class=""&gt;return&lt;/SPAN&gt; &lt;SPAN class=""&gt;compile&lt;/SPAN&gt;(source, filename, mode, PyCF_ONLY_AST)

&lt;SPAN class=""&gt;SyntaxError&lt;/SPAN&gt;: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape (&amp;lt;string&amp;gt;, line 1)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 03 Jun 2022 19:38:08 GMT</pubDate>
    <dc:creator>marciehogan</dc:creator>
    <dc:date>2022-06-03T19:38:08Z</dc:date>
    <item>
      <title>Missing exercise data for Visualizing Data Using ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/missing-exercise-data-for-visualizing-data-using/m-p/1179912#M7459</link>
      <description>&lt;P&gt;Hello, I am working my way through the&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://www.esri.com/training/Engine/defaultui/player/modern.html?configuration=ReturnUrl%7C&amp;amp;preventRightClick=False&amp;amp;cc=en-US&amp;amp;ieCompatibilityMode=none&amp;amp;cache=20.1.10.206&amp;amp;playerConfUrl=%2Ftraining%2FEngine%2FPlayerConfiguration.aspx&amp;amp;registration=InstanceId%7C0%21LearningObjectId%7C61dde71ef8883b7c7cfbe7c7-128891%21UserId%7Cmarcie.hogan&amp;amp;package=LearningObjectId%7C61dde71ef8883b7c7cfbe7c7-128891%21VersionId%7C1&amp;amp;tracking=True&amp;amp;forceReview=False" target="_self"&gt;Visualizing Data Using ArcGIS API for Python&lt;/A&gt; course, and downloaded the required sample data. I am watching the first video in which a shapefile for Liberia airports is mentioned, however I do not see that in the folder I downloaded. I am working with the python notebooks built in to ArcGIS Pro and got the error below when I tried to run the code. I am just starting out with using the ArcGIS pro api and I am not exactly sure what the error means. Thank you in advance for any help!&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;sedf&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;pd&lt;/SPAN&gt;.&lt;SPAN class=""&gt;DataFrame&lt;/SPAN&gt;.&lt;SPAN class=""&gt;spatial&lt;/SPAN&gt;.&lt;SPAN class=""&gt;from_featureclass&lt;/SPAN&gt;(&lt;SPAN class=""&gt;'[the rest of my file path]\VisualPythonAPI\Liberia_Airports.shp'&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN class=""&gt;SyntaxError&lt;/SPAN&gt;                               Traceback (most recent call last)
File &lt;SPAN class=""&gt;C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\ast.py&lt;/SPAN&gt;, in &lt;SPAN class=""&gt;parse&lt;/SPAN&gt;:
Line &lt;SPAN class=""&gt;35&lt;/SPAN&gt;:    &lt;SPAN class=""&gt;return&lt;/SPAN&gt; &lt;SPAN class=""&gt;compile&lt;/SPAN&gt;(source, filename, mode, PyCF_ONLY_AST)

&lt;SPAN class=""&gt;SyntaxError&lt;/SPAN&gt;: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape (&amp;lt;string&amp;gt;, line 1)&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Jun 2022 19:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/missing-exercise-data-for-visualizing-data-using/m-p/1179912#M7459</guid>
      <dc:creator>marciehogan</dc:creator>
      <dc:date>2022-06-03T19:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Missing exercise data for Visualizing Data Using ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/missing-exercise-data-for-visualizing-data-using/m-p/1189325#M7543</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/592115"&gt;@marciehogan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is because you are using \ in your filepath. This is a special escape character in Python. You either need to place r in front of your filepath outside the string quotation, use double \\, or use single / as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;r'the\rest\of\my\filepath\VisualPythonAPI\Liberia_Airports.shp'

'the\\rest\\of\\my\\filepath\\VisualPythonAPI\\Liberia_Airports.shp'

'the/rest/of/my/filepath/VisualPythonAPI/Liberia_Airports.shp'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See more on Python escape characters &lt;A href="https://www.w3schools.com/python/gloss_python_escape_characters.asp" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;While this wont solve a missing Shapefile, it will overcome the SyntaxError you have described above.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 10:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/missing-exercise-data-for-visualizing-data-using/m-p/1189325#M7543</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2022-07-05T10:23:41Z</dc:date>
    </item>
  </channel>
</rss>

