Convert two dictionary to influx writing measurement fields in python

I have a dictionary like {‘BTC’: {‘030323’: 562.7, ‘170323’: 9.900000000000002, ‘250223’: 64.60000000000004, ‘290923’: 17.6, ‘100323’: 53.90000000000002, ‘310323’: 27.4, ‘260223’: 15.499999999999996, ‘300623’: 33.7, ‘280423’: 30.0, ‘291223’: 28.6, ‘260523’: 1.0999999999999999}, ‘ETH’: {‘030323’: 562.7, ‘170323’: 9.900000000000002, ‘250223’: 64.60000000000004, ‘290923’: 17.6, ‘100323’: 53.90000000000002, ‘310323’: 27.4, ‘260223’: 15.499999999999996, ‘300623’: 33.7, ‘280423’: 30.0, ‘291223’: 28.6, ‘260523’: 1.0999999999999999}} and other dictionary like… Read More Convert two dictionary to influx writing measurement fields in python

Mapping a pandas time series dataframe with datetime and mutiple columns values into a format with fields ,tags and measurement?

The given dataframe looks like this: sensorA sensorB deviceA deviceB inputA inputB machineA machineB flagA flagB mainA Time 2021-11-26 20:20:00 379.0 0.0 0.0 489.0 0.77 35.0 0.0 51.0 -13.0 230.0 1.6 2021-11-26 20:30:00 344.0 0.0 0.0 143.0 0.76 31.0 0.0 50.0 -11.0 230.0 1.8 I want to map this to a the following format separting… Read More Mapping a pandas time series dataframe with datetime and mutiple columns values into a format with fields ,tags and measurement?