Join Multiple CSV Files into one Pandas DataFrame. QUICKLY

Опубликовано: 10 Октябрь 2019
на канале: Data Science Garage
42,660
561

In this video I explain and demonstrate another useful Pandas trick: how you can to concat (connect) multiple CSV files that are stored in the same directory very easily just by using Pandas and Glob modules in Python.

The video is splited in 2 parts:
Step 1. Generate list of CSV files (0:04)
Step 2. Concat multiple CSV files into one DataFrame by using glob, assign() and pd.concat() methods (1:39).

I assume this method should work not only with CSV files, but with other structured data files (Excel sheets, etc.) also.

I think this Pandas trick will be useful for data analysts and data scientist working with structured data in Python and save a lot of time by handling difficult and dirty data and how to pre-process it for your models. If you enjoyed this video and want to get more, please subscribe me!
Thanks!

Vytautas Bielinskas

#pandasdataframe
#csvfilespandas
#pythonpandas


Смотрите видео Join Multiple CSV Files into one Pandas DataFrame. QUICKLY онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Data Science Garage 10 Октябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 42,660 раз и оно понравилось 561 людям.