<?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: pandas udf type grouped map fails in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/pandas-udf-type-grouped-map-fails/m-p/16546#M10722</link>
    <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;was able to get it done by increasing driver memory!&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Aug 2021 14:23:13 GMT</pubDate>
    <dc:creator>user_b22ce5eeAl</dc:creator>
    <dc:date>2021-08-16T14:23:13Z</dc:date>
    <item>
      <title>pandas udf type grouped map fails</title>
      <link>https://community.databricks.com/t5/data-engineering/pandas-udf-type-grouped-map-fails/m-p/16545#M10721</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to get the shap values for my whole dataset using pandas udf for each category of a categorical variable. It runs well when I run it on a few categories but when I want to run the function on the whole dataset my job fails. I see spills both on memory and disk and my shuffle read is around 40GB. I am not sure how to optimize my spark job here, I increased my cores to 160 and also Memory for both driver and workers but still not successful. &lt;/P&gt;
&lt;P&gt;Any suggestion will be highly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 14:07:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pandas-udf-type-grouped-map-fails/m-p/16545#M10721</guid>
      <dc:creator>user_b22ce5eeAl</dc:creator>
      <dc:date>2021-08-13T14:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: pandas udf type grouped map fails</title>
      <link>https://community.databricks.com/t5/data-engineering/pandas-udf-type-grouped-map-fails/m-p/16546#M10722</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;was able to get it done by increasing driver memory!&lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 14:23:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pandas-udf-type-grouped-map-fails/m-p/16546#M10722</guid>
      <dc:creator>user_b22ce5eeAl</dc:creator>
      <dc:date>2021-08-16T14:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: pandas udf type grouped map fails</title>
      <link>https://community.databricks.com/t5/data-engineering/pandas-udf-type-grouped-map-fails/m-p/16547#M10723</link>
      <description>&lt;P&gt;I want to use data.groupby.apply() to apply a function to each row of my Pyspark Dataframe per group.&lt;/P&gt;&lt;P&gt;I used The Grouped Map Pandas UDFs. However I can't figure out how to add another argument to my function. DGCustomerFirst Survey&lt;/P&gt;&lt;P&gt;I tried using the argument as a global variable but the function doesn't recongnize it ( my argument is a pyspark dataframe)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Aug 2021 04:01:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/pandas-udf-type-grouped-map-fails/m-p/16547#M10723</guid>
      <dc:creator>Jackson</dc:creator>
      <dc:date>2021-08-17T04:01:03Z</dc:date>
    </item>
  </channel>
</rss>

