That's how I was converting.
json_output = r"/home/umar/Desktop/csv/customer.json"
output = customer_df.to_json(json_output, indent = 1, orient = 'records')
That's how I was converting.
json_output = r"/home/umar/Desktop/csv/customer.json"
output = customer_df.to_json(json_output, indent = 1, orient = 'records')