Creating list or array from pandas DataFrame column or row in Python

preview_player
Показать описание
This short Python tutorial shows how to simply create a list or an array from a pandas DataFrame column or row. The tutorial also reveals how to get the unique elements of a column. The video shows an easy example with tolist(), to_numpy(), unique(), the commands.
Рекомендации по теме
Комментарии
Автор

I love this video. It has helped me a lot

alphajulia
Автор

I really like the content what if we get object data type instead of number, how to work on that

biswanthpinnika
Автор

hello, I have 2000 rows and I want to have a list of all 2000 rows, how can I do this?

anikabhatnagar