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
I just ran into this issue when converting a dataframe to a table in a SQL database. Rather than checking for a non-trivial index, what about checking if the index is named or not?
My first thought was to set index=True in the appropriate places in odo.convert when there is a non-trivial index. However, I'm not seeing a way to have datashape.discover recognize an index. Calling reset_index in cases of a non-trivial index doesn't feel right. Any thoughts?
By default we ignore the index. We should probably only do this if it's the trivial ordering
0, 1, 2, ...
and treat it as data otherwise.cc @brittainhard
The text was updated successfully, but these errors were encountered: