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

Update pandas to 2.0, including fix to prophet test #765

Merged
merged 4 commits into from
Apr 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion alibi_detect/od/tests/test_prophet.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
return_forecast = [True, False]

d_fit = {
'ds': pd.date_range(pd.datetime.today(), periods=100),
'ds': pd.date_range(datetime.date.today(), periods=100),
'y': np.random.randn(100)
}
df_fit = pd.DataFrame(data=d_fit)
Expand Down
2 changes: 1 addition & 1 deletion requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ ipython>=7.2.0, <9.0.0 # required for executing notebooks nbsphinx
# pandoc==2.9.2.1 # NB: as this is not a Python library, it should be installed manually on the system or via a package manager such as `conda`
# alibi_detect dependencies (these are installed on ReadTheDocs so are not mocked)
numpy>=1.16.2, <2.0.0
pandas>=0.23.3, <2.0.0
pandas>=1.0.0, <3.0.0
matplotlib>=3.0.0, <4.0.0
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def readme():
install_requires=[
"matplotlib>=3.0.0, <4.0.0",
"numpy>=1.16.2, <2.0.0",
"pandas>=0.23.3, <2.0.0",
"pandas>=1.0.0, <3.0.0",
"Pillow>=5.4.1, <10.0.0",
"opencv-python>=3.2.0, <5.0.0",
"scipy>=1.3.0, <2.0.0",
Expand Down