python - remove repeted columns in a df

88

python - remove repeted columns in a df -

df.loc[:,~df.T.duplicated(keep='first')]

Comments

Submit
0 Comments