Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
DataFrame.to_dict returning numpy scalars in certain cases #23753
I think in general we try to return python scalars instead of numpy scalars in
However, this is not consistent, and eg when using
In this case, that is because of iterating over
As I said, I searched for it but didn't see one directly. But if you find one, happy to close this as a duplicate.
For iteration there are other issues, but here for