Skip to content

FutureWarning: .loc with lists #175

Description

@e-lo
//anaconda/envs/py37/lib/python3.7/site-packages/pandas/core/indexing.py:1472: FutureWarnin
g:
  Passing list-likes to .loc or [] with any missing label will raise
  KeyError in the future, you can use .reindex() as an alternative.

  See the documentation here:
  https://pandas.pydata.org/pandas-docs/stable/indexing.html#deprecate-loc-reindex-listlike
    return self._getitem_tuple(key)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions