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
In [1]: s = Series(range(1,6),index=list(letters[:5]))
In [2]: new_index = list('agcf')
In [3]: s.index.get_indexer(new_index,method='pad')
Out[3]: array([ 0, 4, -1, 4])
When I try to reindex a Series object I get a really weird result.
According to the documentation I should have got something like:
So either the documentation is not valid, or reindex is not working correctly or I haven't understood how this beast works?
The text was updated successfully, but these errors were encountered: