I have a pandas dataframe which contains thousands of rows, and a few columns. I am getting an error when trying to convert it to a json file.
This is the code to convert:
sessionAttendance.to_json('SessionAttendance.json')
This is the error I'm getting:
OverflowError: Maximum recursion level reached
_id wondeID session updatedAt
0 123456789101112131415161 AA1234567891 AM 2019-06-21 08:05:50.845
1 123456789101112131415162 AA1234567892 AM 2019-06-21 08:05:50.845
2 123456789101112131415163 AA1234567893 AM 2019-06-21 08:05:50.845
3 123456789101112131415164 AA1234567894 AM 2019-06-21 08:05:50.845
[234195 rows x 4 columns]