Skip to content

Fixing CI and adding sorted_terms to PreparedData #141

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

Merged
merged 4 commits into from
Mar 30, 2019

Conversation

betolink
Copy link
Contributor

@betolink betolink commented Mar 4, 2019

This branch fixes the CI build and adds a minor functionality to the PrepareData Object.
An important observation is that the latest pandas version degraded the performance by a lot, the issue is described here: pandas-dev/pandas#24990 so until this gets fixed pandas is pinned to 0.23.x

Included on this PR are:

  • Fixed linting and added .flake8 file
  • Changed the default python environments for CI to 2.7,3.5 and 3.6
  • Added a conda environment file for local testing (conda env create -f)
  • Pinned pandas version to avoid 0.24.0 vs 0.23.4: scalar + DataFrame is 3000x slower pandas-dev/pandas#24990
  • Added sorted_terms to PrepareData so when a user changes the lambda slide they can get the current term ranking.

@bmabey bmabey merged commit a108b0c into bmabey:master Mar 30, 2019
@bmabey
Copy link
Owner

bmabey commented Mar 30, 2019

Thank you @betolink! Great patch. Sorry I took so long merging this in.

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.

2 participants