[issue24313] json fails to serialise numpy.int64

2019-08-26 Thread Vicki Brown
Vicki Brown added the comment: Note also that pandas DataFrame.to_json() method has no issue with int64. Perhaps you could borrow their code. -- ___ Python tracker <https://bugs.python.org/issue24

[issue24313] json fails to serialise numpy.int64

2019-08-26 Thread Vicki Brown
Vicki Brown added the comment: This is still broken. With pandas being popular, it's more likely someone might hit it. Can we fix this? At the very least, the error message needs to be made much more specific. I have created a dictionary containing pandas stats. ``` def summary_st