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

Upgrade pandas to 1.1.0 and update .week usage #1094

Merged
merged 16 commits into from Jul 31, 2020
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/changelog.rst
Expand Up @@ -17,6 +17,7 @@ Changelog
* Change default branch to ``main`` (:pr:`1038`)
* Raise TypeError if improper input is supplied to ``Entity.delete_variables()`` (:pr:`1064`)
* Updates for compatibility with pandas 1.1.0 (:pr:`1079`, :pr:`1089`)
* Upgrade pandas to >=1.1.0 (:pr: `1094`)
Copy link
Contributor

Choose a reason for hiding this comment

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

Also, remove the space between :pr: and 1094

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah that's what it was, thank you!

* Documentation Changes
* Remove benchmarks folder (:pr:`1049`)
* Add custom variables types section to variables page (:pr:`1066`)
Expand Down
2 changes: 1 addition & 1 deletion featuretools/primitives/standard/transform_primitive.py
Expand Up @@ -212,7 +212,7 @@ class Week(TransformPrimitive):

def get_function(self):
def week(vals):
return vals.dt.week
return vals.dt.isocalendar().week
return week


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,6 +1,6 @@
scipy>=0.13.3
numpy>=1.13.3
pandas>=0.24.1
pandas>=1.1.0
tqdm>=4.32.0
pyyaml>=3.12
cloudpickle>=0.4.0
Expand Down