Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to duplicate a column pandas

df['FirstFloor'] = df['1stfloor'] 
df['FirstFloor'] = df.loc[:, '1stfloor']
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #duplicate #column #pandas
ADD COMMENT
Topic
Name
6+3 =