Using Python Faker generate different data for 5000 rows
问题 I would like to use the Python Faker library to generate 500 lines of data, however I get repeated data using the code I came up with below. Can you please point out where I'm going wrong. I believe it has something to do with the for loop. Thanks in advance: from faker import Factory import pandas as pd import random def create_fake_stuff(fake): df = pd.DataFrame(columns=('name' , 'email' , 'bs' , 'address' , 'city' , 'state' , 'date_time' , 'paragraph' , 'Conrad' ,'randomdata')) stuff =