Aug 16, 2023
great article! Another one I've done myself is trying to create a copy of a dataframe and ending up with just a reference:
df_copy = df1
versus
df_copy = df1.copy() or df_copy = df1.copy(deep=True)
great article! Another one I've done myself is trying to create a copy of a dataframe and ending up with just a reference:
df_copy = df1
versus
df_copy = df1.copy() or df_copy = df1.copy(deep=True)
Neuroscientist/cell biologist/data scientist at Columbia University https://www.linkedin.com/in/jozsef-meszaros-jd-phd-b39581200/