My script does nothing too fancy: It creates a dict of dataframes, and a for loop writes one column at a time. This way I can see the progress. Each dataframe looks like this:
The current influx 1.8 script is:
client.write_points(df, measurement, protocol = ‘‘line’’, batch_size=10000)
For influx 2.0:
write_client.write(db, record=df, data_frame_measurement_name=measurement)