<?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 Save dataframe to the same variable in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/save-dataframe-to-the-same-variable/m-p/44454#M5805</link>
    <description>&lt;P&gt;I would like to know if there is any difference if I save dataframe during tranformation to itself as first code or to new dataframe as second example.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;log_df = log_df.withColumn("process_timestamp",from_utc_timestamp(lit(current_timestamp()),"Europe/Amsterdam")) &lt;/LI-CODE&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;new_df = log_df.withColumn("process_timestamp",from_utc_timestamp(lit(current_timestamp()),"Europe/Amsterdam")) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 07:45:48 GMT</pubDate>
    <dc:creator>alesventus</dc:creator>
    <dc:date>2023-09-12T07:45:48Z</dc:date>
    <item>
      <title>Save dataframe to the same variable</title>
      <link>https://community.databricks.com/t5/get-started-discussions/save-dataframe-to-the-same-variable/m-p/44454#M5805</link>
      <description>&lt;P&gt;I would like to know if there is any difference if I save dataframe during tranformation to itself as first code or to new dataframe as second example.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;log_df = log_df.withColumn("process_timestamp",from_utc_timestamp(lit(current_timestamp()),"Europe/Amsterdam")) &lt;/LI-CODE&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;new_df = log_df.withColumn("process_timestamp",from_utc_timestamp(lit(current_timestamp()),"Europe/Amsterdam")) &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 07:45:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/save-dataframe-to-the-same-variable/m-p/44454#M5805</guid>
      <dc:creator>alesventus</dc:creator>
      <dc:date>2023-09-12T07:45:48Z</dc:date>
    </item>
  </channel>
</rss>

