10
Edit:
df_to_dict() will not be able to read timestamps like 1: Timestamp('2020-01-02 00:00:00') without also including from pandas import Timestamp
The answer:
In many situations, using an approach with df.to_dict() will do the job perfectly! Here are two cases that come to mind:
Case 1: You've g...