<?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 Reading excel file using pandas on spark api not rendering #N/A values correctly in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/38663#M26702</link>
    <description>&lt;P&gt;I am trying to read a .xlsx file using ps.read_excel() and having #N/A as a value for string type columns. But in the dataframe, i am getting "null" inplace of #N/A . Is there any option , using which we can read #N/A as a string in .xlsx file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2023 12:38:24 GMT</pubDate>
    <dc:creator>aa_204</dc:creator>
    <dc:date>2023-07-28T12:38:24Z</dc:date>
    <item>
      <title>Reading excel file using pandas on spark api not rendering #N/A values correctly</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/38663#M26702</link>
      <description>&lt;P&gt;I am trying to read a .xlsx file using ps.read_excel() and having #N/A as a value for string type columns. But in the dataframe, i am getting "null" inplace of #N/A . Is there any option , using which we can read #N/A as a string in .xlsx file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 12:38:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/38663#M26702</guid>
      <dc:creator>aa_204</dc:creator>
      <dc:date>2023-07-28T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading excel file using pandas on spark api not rendering #N/A values correctly</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/38737#M26739</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/24163"&gt;@aa_204&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Take a look at na_values parameter:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html" target="_blank"&gt;https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 05:09:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/38737#M26739</guid>
      <dc:creator>daniel_sahal</dc:creator>
      <dc:date>2023-07-31T05:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reading excel file using pandas on spark api not rendering #N/A values correctly</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/38771#M26752</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/79106"&gt;@daniel_sahal&lt;/a&gt;&amp;nbsp; . I have tried&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;na_Filter=False and na_values=[&lt;/SPAN&gt;&lt;SPAN&gt;'NA'&lt;/SPAN&gt;&lt;SPAN&gt;],keep_default_na=&lt;/SPAN&gt;&lt;SPAN&gt;False as well. But still not able to manipulate #N/A as string . . Each time it is getting converted to null or nan&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 31 Jul 2023 09:31:54 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/38771#M26752</guid>
      <dc:creator>aa_204</dc:creator>
      <dc:date>2023-07-31T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reading excel file using pandas on spark api not rendering #N/A values correctly</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/58260#M31071</link>
      <description>&lt;P&gt;i am facing the same issue currently even after setting&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;keep_default_na&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;False still #N/A is being converted as null&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;does anyone know the solution here?&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Jan 2024 10:54:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/58260#M31071</guid>
      <dc:creator>vishwanath_1</dc:creator>
      <dc:date>2024-01-23T10:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reading excel file using pandas on spark api not rendering #N/A values correctly</title>
      <link>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/111543#M43930</link>
      <description>&lt;P&gt;Did you get a solution or workaround for this error, as I am also facing the same even after using &lt;SPAN&gt;dtype = str, na_filter= False, keep_default_na = False ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 08:51:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/reading-excel-file-using-pandas-on-spark-api-not-rendering-n-a/m-p/111543#M43930</guid>
      <dc:creator>Soumik</dc:creator>
      <dc:date>2025-03-03T08:51:39Z</dc:date>
    </item>
  </channel>
</rss>

