0

I want to add the 'new' Series to the 'mydata' Dataframe THE CODE IS THIS

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
  • Use `df['new'] = k.astype(int)` – jezrael Apr 03 '20 at 10:16
  • Or `df['new'] = new` – jezrael Apr 03 '20 at 10:17
  • It doesn't work – Koushik C S Apr 03 '20 at 10:21
  • Welcome to StackOverflow. Please take the time to read this post on [how to provide a great pandas example](http://stackoverflow.com/questions/20109391/how-to-make-good-reproducible-pandas-examples) as well as how to provide a [minimal, complete, and verifiable example](http://stackoverflow.com/help/mcve) and revise your question accordingly. These tips on [how to ask a good question](http://stackoverflow.com/help/how-to-ask) may also be useful. – jezrael Apr 03 '20 at 10:22

0 Answers0