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?