79654850

Date: 2025-06-05 16:23:23
Score: 1
Natty:
Report link

I had a simillar situation, while converting some Postgres Databases into MySQL.
I tried other solutions, until I found your post.
The approach that worked clean and softly, was inserting this line, after saving the rows on a DataFrame variable:


data = data.astype(object).where(pandas.notnull(data), None)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Matheus Galasso