Python pandas read_csv // Load a CSV into pandas from a file or URL // index_col, na_values, nrows

Описание к видео Python pandas read_csv // Load a CSV into pandas from a file or URL // index_col, na_values, nrows

Learn how to load a CSV file into Python pandas with this quick tutorial. This video from my "Pandas Tips" series walks you through reading an CSV file into pandas from your computer and from a GitHub URL. You'll also be able to level up your pandas skills by setting the column that should be treated as the index of your pandas dataframe with the index_col option. Then tell Python pandas which strings should be treated like missing values with na_values. Finally, limit the number of rows pandas reads in from your CSV with the nrows argument. This option helps you only pull in a chunk of data when you are creating your data analysis pipeline. Check this video out to level up your Python pandas skills and make the most out of the pandas read_csv function -- it will save you a lot of data cleaning time later!

0:00 Introduction
0:55 GitHub Links
1:45 Read CSV from Computer
4:14 Read from URL
6:14 Level UP! index_col
8:00 Set Missing Values: na_values
11:07 Limit Rows: nrows
13:01 Conclusion

💻 Github CODE and DATA 💻
https://github.com/kimfetti/Videos/bl...
https://github.com/kimfetti/Videos/bl...

🎥 Related VIDEOS 🎥
• pandas read_excel -    • Python pandas read_excel // Load a sp...  

📖 BOOKS about pandas from my Amazon Storefront 📖
https://www.amazon.com/shop/kimberlyf...

☕ Buy me a COFFEE ☕
If you have enjoyed the content presented in this video and are able, consider buying a virtual cup of coffee to keep my channel going!
https://www.buymeacoffee.com/kimberly...

#python #pandas #pythonprogramming

Комментарии

Информация по комментариям в разработке