Since I can't just do the to_sql directly if a column is an ordered dict, I want to be able to detect it and then turn it into a json.
Asked
Active
Viewed 83 times
0
-
you can get column type by `df.dtypes` attribute. – nay Jul 19 '21 at 03:20
-
Coincidentally, its Object for both strings and ordered dict – Henrietta Martingale Jul 19 '21 at 14:01