Python, Pandas, Data Science, Climate Change, Matplotlib.
parameters into one dataframe: from itertools import product bob_df = bob_hr.to_frame("value") bob_df["athlete"] = "Bob" bob_df["parameter"] = "heart_rate" values = { "Bob": { "heart_rate": bob_hr, "cadence": bob_cadence, }, "Alice": { "heart_rate": alice_hr, "cadence": alice_cadence } }