Artificial Intelligence, Machine Learning, Data Science, Python, Programming.
fake.phone_number() if len(phone) > 20: # Assuming the 'Phone' column is VARCHAR(20) phone = phone[:20] # Truncate phone number to fit into the column address = fake.address() customer_since = fake.date_between(start_date='-5y', end_date='today') is_active = fake.boolean() # Insert customer data