#6 Save multiple text files to disk in Python

preview_player
Показать описание
How do you process a large number of records and save them to your computer as separate text files when necessary?

Today, we’ll answer the question above using some of your favorite data manipulation tools. We will explore how to perform the task using some dummy text data generated with the faker library. In later videos, we’ll take this even further and learn how to handle dynamic name generation for the files you write to disk. Enjoy it.

Source Code
Visit the following GitHub repository to follow along with the code used in this tutorial
Рекомендации по теме
Комментарии
Автор

Hi, When I copy the code, it shows "[Errno 2] No such file or directory: './records/record1.txt'". I have no idea how to figure it out.

jennifertao
Автор

Can you tell me where the data to write to the file comes from?

anhthach
Автор

hey. I have an Orient error. Please help. Thanks.

TypeError: Series.to_dict() got an unexpected keyword argument 'orient'

akmaljelani
visit shbcf.ru