Pandas How add new column existing DataFrame

preview_player
Показать описание
Pandas How to add new column to existing DataFrame

* add completely new column(empty)
* add new column based on existing column
* matching the content of the DataFrame

Bonus
* how to merge/concat DataFrame and Series
* read csv use converters
* join list to a DataFrame
* check dataframe for duplicated data

Pandas support python 2

Warning Starting January 1, 2019, pandas feature releases will support Python 3 only. See Plan for dropping Python 2.7 for more.

---------------------------------------------------------------------------------------------------------------------------------------------------------------
Code store

Socials

If you really find this channel useful and enjoy the content, you're welcome to support me and this channel with a small donation via PayPal.

Рекомендации по теме
Комментарии
Автор

Great video! I didn't know about the usecols and converters params. Very helpful, thanks!

DrHappybone