dataframe copy

29

python copy dataframe -

data_copy = data.copy(deep = False) # any change in original data will be
                                    # imitated in copied data and vice versa

data_copy = data.copy() # modifications in original data will not reflected
                        # in copied data

Comments

Submit
0 Comments