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
FutureWarning: Slicing a positional slice with .loc is not supported, and will raise TypeError in a future version. Use .loc with labels or .iloc with positions instead.
Deprecated as of pandas 1.1.0, will be removed in pandas 2.0.0 (target Oct 1, 2021)
which corresponds to the 'changed2-fixed2' conditions in the tests above.
The TypeError that is thrown will handle this correctly by passing the slice through to the index directly, which is the correct way of handling the future operations. Will update the comments around this to close this issue.
Deprecated as of pandas 1.1.0, will be removed in pandas 2.0.0 (target Oct 1, 2021)
Line affected:
pysat/pysat/_instrument.py
Line 767 in 09c2e54
Unit Tests affected:
The text was updated successfully, but these errors were encountered: