You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the only way to get around this (short of adding id back to the included fields) is to subclass PandasSerializer and override get_index() to ensure it returns None (or any included field).
A better solution would be to have the default get_index() check for the id field before using it as the index, or to make it return None by default and always require it to be overridden for users that want an index to be set on their DataFrame.
The text was updated successfully, but these errors were encountered:
See http://paste.ubuntu.com/10862242/.
Currently the only way to get around this (short of adding
id
back to the included fields) is to subclassPandasSerializer
and override get_index() to ensure it returnsNone
(or any included field).A better solution would be to have the default
get_index()
check for theid
field before using it as the index, or to make it returnNone
by default and always require it to be overridden for users that want an index to be set on theirDataFrame
.The text was updated successfully, but these errors were encountered: