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

Handle new pandas versions, fix travis CI #8

Merged
merged 1 commit into from
Aug 4, 2017

Conversation

mgalardini
Copy link
Contributor

  1. The information on the batch should be a pd.Series

the current behavior is that if the model is not defined,
it will be created through the pd.DataFrame constructor, missing
the index, which is later used in the funciton, leading to a
KeyError

  1. Remove the now deprecated iterkv -> iteritems

  2. Cast n_array to integer

In the current behavior, it can be a float and lead to the
raise of a TypeError

  1. Drop the use of the now deprecated reshape method

raises a FutureWarning otherwise

  1. Cleaner main

  2. Fix travis CI

1) The information on the batch should be a pd.Series

the current behavior is that if the model is not defined,
it will be created through the pd.DataFrame constructor, missing
the index, which is later used in the funciton, leading to a
KeyError

2) Remove the now deprecated iterkv -> iteritems

3) Cast n_array to integer

In the current behavior, it can be a float and lead to the
raise of a TypeError

3) Drop the use of the now deprecated reshape method

raises a FutureWarning otherwise

4) Cleaner main

5) Fix travis CI
@brentp brentp merged commit 3a1632e into brentp:master Aug 4, 2017
@brentp
Copy link
Owner

brentp commented Aug 4, 2017

excellent! thank you. sounds like this closes #6 as well.

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