Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alleviate Pandas .ix indexing depreciation warning #44

Closed
aerispaha opened this issue Dec 20, 2018 · 0 comments
Closed

Alleviate Pandas .ix indexing depreciation warning #44

aerispaha opened this issue Dec 20, 2018 · 0 comments
Assignees
Milestone

Comments

@aerispaha
Copy link
Member

Pandas is giving this warning due to a flavor of indexing set to change in future versions:

See the documentation here:
  http://pandas.pydata.org/pandas-docs/stable/indexing.html#ix-indexer-is-deprecated
    full_set = pd.concat([df1.ix[common_ids], df2.ix[common_ids]])
  C:\projects\swmmio\swmmio\version_control\inp.py:152: DeprecationWarning: 
  .ix is deprecated. Please use
  .loc for label based indexing or
  .iloc for positional indexing

Update swmmio to use the supported Pandas indexing pattern.

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

No branches or pull requests

1 participant