How to use python or pandas (preferably) to convert a pandas data_frame to dictionary of lists for input into highcharts.
The closest I got to was (see tmp notebook
to create a list of the dictionaries per line
post_data_list = [] for i in df2.index: data_dict = {} for column in df2.columns: data_dict[column] = df2[column][i] post_data_list.append(data_dict)