<?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: Muliple Where condition vs AND &amp;&amp; in Pyspark in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/muliple-where-condition-vs-and-in-pyspark/m-p/25420#M1409</link>
    <description>&lt;P&gt;You can use explain to see what type of physical and logical plans are  getting created . This  is the best way to  see difference , but as mentioned  in the  question , it should  give the same physical plan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jun 2021 10:04:39 GMT</pubDate>
    <dc:creator>User16826994223</dc:creator>
    <dc:date>2021-06-09T10:04:39Z</dc:date>
    <item>
      <title>Muliple Where condition vs AND &amp;&amp; in Pyspark</title>
      <link>https://community.databricks.com/t5/machine-learning/muliple-where-condition-vs-and-in-pyspark/m-p/25419#M1408</link>
      <description>&lt;P&gt;.where((col('state')==state) &amp;amp; (col('month')&amp;gt;startmonth)&lt;/P&gt;&lt;P&gt;I can do the where conditions both ways. I think the one below add readability. Is there any other difference and which is the best?&lt;/P&gt;&lt;P&gt;.where(col('state')==state)&lt;/P&gt;&lt;P&gt;.where(col('month')&amp;gt;startmonth)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 10:03:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/muliple-where-condition-vs-and-in-pyspark/m-p/25419#M1408</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-09T10:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Muliple Where condition vs AND &amp;&amp; in Pyspark</title>
      <link>https://community.databricks.com/t5/machine-learning/muliple-where-condition-vs-and-in-pyspark/m-p/25420#M1409</link>
      <description>&lt;P&gt;You can use explain to see what type of physical and logical plans are  getting created . This  is the best way to  see difference , but as mentioned  in the  question , it should  give the same physical plan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 10:04:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/muliple-where-condition-vs-and-in-pyspark/m-p/25420#M1409</guid>
      <dc:creator>User16826994223</dc:creator>
      <dc:date>2021-06-09T10:04:39Z</dc:date>
    </item>
  </channel>
</rss>

