<?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: Importing a large csv file into databricks free in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34296#M25066</link>
    <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2022 17:44:13 GMT</pubDate>
    <dc:creator>Mamdouh_Dabjan</dc:creator>
    <dc:date>2022-08-19T17:44:13Z</dc:date>
    <item>
      <title>Importing a large csv file into databricks free</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34290#M25060</link>
      <description>&lt;P&gt;Basically, I have a large csv file that does not fit in a single worksheet. I can just use it in power query. I am trying to import this file into my databricks notebook. I imported it and created a table using that file. But, When I saw the table, it was full of random symbols and not the data I imported. Is there a way to convert these symbols into my data??&lt;/P&gt;&lt;P&gt;the symbols are something like this&lt;/P&gt;&lt;P&gt;6��@#W&amp;amp;���9�`�ϻ��U1�ѵL�T���E)�N�9;��l01H�O���&amp;gt;�4Q+(�2�wiɆ�������%?-2��7��A�ze�C��H��r+�;�&amp;gt;���(�2����~Y���D����[�2g�����eϢ��ԯy�ir#��~�&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 19:09:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34290#M25060</guid>
      <dc:creator>Mamdouh_Dabjan</dc:creator>
      <dc:date>2022-08-18T19:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a large csv file into databricks free</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34291#M25061</link>
      <description>&lt;P&gt;hello, manually opening one of the parts of the csv file is the view different?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 12:19:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34291#M25061</guid>
      <dc:creator>weldermartins</dc:creator>
      <dc:date>2022-08-19T12:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a large csv file into databricks free</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34292#M25062</link>
      <description>&lt;P&gt;I don't really understand what you mean. If you mean to open a csv on a worksheet it does not fit because the data is over 1 million rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 13:01:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34292#M25062</guid>
      <dc:creator>Mamdouh_Dabjan</dc:creator>
      <dc:date>2022-08-19T13:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a large csv file into databricks free</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34293#M25063</link>
      <description>&lt;P&gt;if you open cvs it will generate a message that it is not possible to read all lines, but you can preview the file. Post more information than you already have.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 13:17:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34293#M25063</guid>
      <dc:creator>weldermartins</dc:creator>
      <dc:date>2022-08-19T13:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a large csv file into databricks free</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34294#M25064</link>
      <description>&lt;P&gt;It does say what you are saying. But what Can I do to import this csv into databricks?. as I said before, I uploaded the data and created a table using it but it is displaying these random symbols instead of the data I imported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 13:54:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34294#M25064</guid>
      <dc:creator>Mamdouh_Dabjan</dc:creator>
      <dc:date>2022-08-19T13:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a large csv file into databricks free</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34295#M25065</link>
      <description>&lt;P&gt;you can use pyspark to remove the unicodes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This example removes null unicode. You will have to search or match yours or you can find some solution on google.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;# Change null to empty in DataFrame
null = u'\u0000'
dfCnae = df\
.withColumn('id', regexp_replace(df['id'], null, ''))\
.withColumn('description', regexp_replace(df['description'], null, ''))&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 16:50:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34295#M25065</guid>
      <dc:creator>weldermartins</dc:creator>
      <dc:date>2022-08-19T16:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a large csv file into databricks free</title>
      <link>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34296#M25066</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 17:44:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/importing-a-large-csv-file-into-databricks-free/m-p/34296#M25066</guid>
      <dc:creator>Mamdouh_Dabjan</dc:creator>
      <dc:date>2022-08-19T17:44:13Z</dc:date>
    </item>
  </channel>
</rss>

