Selecting multiple columns in pandas dataframe

preview_player
Показать описание
Within Pandas, selecting multiple columns can quickly be done by passing list within square brackets. In this video, I show how to choose not only multiple columns but also how to choose Categorical and Numerical variables.
Рекомендации по теме
Комментарии
Автор

I have the source file and target file. so in that, I have to compare 140 columns and show the result if it matches or not. for example, there is a column as Country1 in source and in target as Country2. to compare that i will use True else return false. to compare 140+ columns it will take time to compare 140 columns. so how can I solve this?

vinayakchikkorde
Автор

.. you can include or exclude numbers or 'objects' dtypes as needed. Version 1.0 change I believe - hope this helps. Thanks for your video.

cordularaecke
welcome to shbcf.ru