cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

A basic DataFrame transformation query

mghildiy
New Contributor

I want to know how dataframe transformations work.

Suppose I have a DataFrame instance df1. I apply some operation on it, say a filter. As every operation gives a new dataframe, so lets say now we have df2. So we have two DataFrame instances now, df1 and df2. Suppose df1 was built for a data whose size is 5mb. After filtering out some data from df1, df2 has, lets say, 3mb size. So does it mean now we have total 8mb of data in dataframes. Is this how things work?

1 REPLY 1

Vidula
Honored Contributor

Hi @mghildiy​ 

Does @Kaniz Fatma​  response answer your question? If yes, would you be happy to mark it as best so that other members can find the solution more quickly?

We'd love to hear from you.

Thanks!

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now