<?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: Databricks notebooks error in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121632#M46509</link>
    <description>&lt;P&gt;Can you try uploading this file outside FileStore and give it a try? Maybe create a new folder in dbfs, and upload the files there?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2025 17:07:16 GMT</pubDate>
    <dc:creator>nikhilj0421</dc:creator>
    <dc:date>2025-06-12T17:07:16Z</dc:date>
    <item>
      <title>Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121608#M46503</link>
      <description>&lt;P&gt;I want to read a csv file using pandas library in python in Databricks Notebooks and I uploaded my csv file (employee_data) on adfs but it still shows no such file exists can anyone help me on this?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vivek_purbey_0-1749739088896.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17484iFD4E1AE3D1752658/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vivek_purbey_0-1749739088896.png" alt="vivek_purbey_0-1749739088896.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 14:40:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121608#M46503</guid>
      <dc:creator>vivek_purbey</dc:creator>
      <dc:date>2025-06-12T14:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121620#M46506</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/168983"&gt;@vivek_purbey&lt;/a&gt;, can you try reading with the path below? It takes '/dbfs' by default, you do not need to pass it explicitly.&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;pd. read_csv('/FileStore/tables/employee_data.csv')&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 16:15:37 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121620#M46506</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-06-12T16:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121626#M46508</link>
      <description>&lt;P&gt;Still had the same issue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vivek_purbey_0-1749746775458.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/17489i6D79050C7B3F82E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vivek_purbey_0-1749746775458.png" alt="vivek_purbey_0-1749746775458.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 16:46:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121626#M46508</guid>
      <dc:creator>vivek_purbey</dc:creator>
      <dc:date>2025-06-12T16:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121632#M46509</link>
      <description>&lt;P&gt;Can you try uploading this file outside FileStore and give it a try? Maybe create a new folder in dbfs, and upload the files there?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 17:07:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121632#M46509</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-06-12T17:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121636#M46510</link>
      <description>&lt;P&gt;can you please guide me how I can do that&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 17:17:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121636#M46510</guid>
      <dc:creator>vivek_purbey</dc:creator>
      <dc:date>2025-06-12T17:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121643#M46512</link>
      <description>&lt;P&gt;You can create a new folder using like below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;dbutils.fs.mkdirs("/folder_name/")&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, you can upload the file here manually the way you were uploading the FileStore.&amp;nbsp;&lt;BR /&gt;And then you can read the file using below code&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;pd.read_csv('/folder_name/employee_data.csv')&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="bodyDisplay_0" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 12 Jun 2025 17:33:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121643#M46512</guid>
      <dc:creator>nikhilj0421</dc:creator>
      <dc:date>2025-06-12T17:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121662#M46513</link>
      <description>&lt;P&gt;I think you are using databricks course cluster which might have some limitations.&lt;BR /&gt;Pandas reads only from local files. So try to read the file using spark instead of pandas.&lt;/P&gt;&lt;LI-CODE lang="python"&gt;df = spark.read.csv('dbfs:/FileStore/tables/employee_data.csv')
display(df)&lt;/LI-CODE&gt;&lt;P&gt;You can then convert it to pandas df if it is absolutely needed using toPandas.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 19:40:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121662#M46513</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2025-06-12T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121693#M46521</link>
      <description>&lt;P&gt;Sure, Thank You.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 06:43:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121693#M46521</guid>
      <dc:creator>vivek_purbey</dc:creator>
      <dc:date>2025-06-13T06:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks notebooks error</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121696#M46522</link>
      <description>&lt;P&gt;Load it using PySpark and create a pandas data frame. Here is how you do it after uploading the data&lt;/P&gt;&lt;P&gt;file_path = "/FileStore/tables/your_file_name.csv"&lt;/P&gt;&lt;P&gt;# Load CSV as Spark DataFrame&lt;BR /&gt;df_spark = spark.read.option("header", "true").option("inferSchema", "true").csv(file_path)&lt;/P&gt;&lt;P&gt;# Convert to pandas DataFrame&lt;BR /&gt;df_pandas = df_spark.toPandas()&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jun 2025 08:18:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-notebooks-error/m-p/121696#M46522</guid>
      <dc:creator>Alok0903</dc:creator>
      <dc:date>2025-06-13T08:18:07Z</dc:date>
    </item>
  </channel>
</rss>

