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

[BUG] enforce dtype in mask in plot_local_autocorrelation() #122

Merged
merged 5 commits into from
Jan 11, 2021

Conversation

slumnitz
Copy link
Member

@slumnitz slumnitz commented Jan 8, 2021

splot build failing on plot_local_autocorrelation() for python v 3.7 due to change in behaviour in pandas.DataFrame.isin().
For more information see #123.

  • added functionality that converts values in mask to same type as values in region_column
  • added warning that mask type and region_column type are not the same
  • raising ValueError if specified values in mask not in the dataset
  • add test to check ValueError is raised
  • added comment in documentation
  • Added Columbus dataset to travis.yml

@slumnitz slumnitz changed the title [WIP] add columbus to .travis.yml [BUG] enforce dtype in mask in plot_local_autocorrelation() Jan 9, 2021
@slumnitz slumnitz linked an issue Jan 9, 2021 that may be closed by this pull request
Copy link
Member

@martinfleis martinfleis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor nit, feel free to ignore it.

splot/_viz_esda_mpl.py Outdated Show resolved Hide resolved
@slumnitz
Copy link
Member Author

@martinfleis thank you for the suggestion, I removed the statement.

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

Successfully merging this pull request may close these issues.

[MAINT] change inpandas.isin() affecting plot_local_autocorrelation
3 participants