Skip to content

Instantly share code, notes, and snippets.

Last active June 1, 2016 10:41
What would you like to do?
from faker import Factory
import csv
with open("dummy_data.csv", "w") as f:
writer = csv.writer(f)
fake = Factory.create()
for i in range(100):
# 数字と文字列と日時をランダムで生成
row = [fake.random_int(), fake.word(), fake.date_time()]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment