from faker import Faker
import csv

# Reference: https://pypi.org/project/Faker/

output = open('data.CSV', 'w', newline='')

fake = Faker()
header = ['name', 'age', 'street', 'city', 'state', 'zip', 'lng', 'lat']

mywriter=csv.writer(output)

mywriter.writerow(header)

for r in range(1000):
    mywriter.writerow([
        fake.name(),
        fake.random_int(min=18, max=80, step=1), 
        fake.street_address(), 
        fake.city(),
        fake.state(),
        fake.zipcode(),
        fake.longitude(),
        fake.latitude()
        ])

output.close()
[(8, 'faker.Faker', 'Faker', False, 'from faker import Faker\n'), (11, 'csv.writer', 'csv.writer', False, 'import csv\n')]