What is difference between "inplace = True" and "inplace = False?
Both inplace= true and inplace = False are used to do some operation on the data but:
When inplace = True is used, it performs operation on data and nothing is returned.
df.some_operation(inplace=True)
When inplace=False is used, it performs operation on data and returns a new copy of data.
df = df.an_operation(inplace=False)
Comments
Post a Comment