Iterating over Files in a Directory #datascience #python #coding

preview_player
Показать описание
Learn how to iterate over a list of files in a directory using python.
Рекомендации по теме
Комментарии
Автор

If you want to make it faster and more concise, you can also change the for loop into a list comprehension for the dataframes, and that would only use one line!

TheDriftingStig
Автор

Nice! This is exactly what I'm confusing. I've taken a course that didn't go through so much details. Such video can help me see how to compose APIs like doing music. I understand it's important to search for unknown APIs, but I'm a learner need more examples.

Chali.return
Автор

Appending to a df is a costly operation, instead append everything to a python list and then convert the list to a dataframe later

rushabhmehta
Автор

"glob" is already built-in Path library

ErickCalderin
Автор

Aren't we supposed to use pathlib nowadays?

iainmitchell
Автор

Please suggest how to improve python skill in using pandas and numpy for data manipulation i am comfortable in Mysql but same question in python make me blank although the outline of the solution is pretty much same

nithinsharma