update with link to user who originally submitted the fix
@@ -7,6 +7,9 @@ class NumpyEncoder(json.JSONEncoder):
Used to correctly encode numpy columns within a pd dataframe
when dumping it to json. Without this, json.dumps errors if
given an a column of class int32, int64 or np.array.
+
+ Thanks to:
+ https://github.com/mpld3/mpld3/issues/434#issuecomment-340255689
"""
def default(self, obj):
