Skip to content

DEPR: remove statsmodels as a dependency #15353

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

Closed
wants to merge 1 commit into from
Closed
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
1 change: 0 additions & 1 deletion ci/requirements-2.7.pip
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
statsmodels
blosc
httplib2
google-api-python-client==1.2
Expand Down
1 change: 0 additions & 1 deletion ci/requirements-2.7_COMPAT.run
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ pytz=2013b
scipy=0.11.0
xlwt=0.7.5
xlrd=0.9.2
statsmodels=0.4.3
bottleneck=0.8.0
numexpr=2.2.2
pytables=3.0.0
Expand Down
1 change: 0 additions & 1 deletion ci/requirements-2.7_LOCALE.run
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ html5lib=1.0b2
lxml=3.2.1
scipy=0.11.0
beautiful-soup=4.2.1
statsmodels=0.4.3
bigquery=2.0.17
1 change: 0 additions & 1 deletion ci/requirements-2.7_SLOW.run
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ numpy=1.8.2
matplotlib=1.3.1
scipy
patsy
statsmodels
xlwt
openpyxl
xlsxwriter
Expand Down
1 change: 0 additions & 1 deletion ci/requirements-3.4_SLOW.run
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ sqlalchemy
bottleneck
pymysql
psycopg2
statsmodels
jinja2=2.8
2 changes: 1 addition & 1 deletion doc/source/whatsnew/v0.20.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ Removal of prior version deprecations/changes
- The ``pandas.io.ga`` module with a ``google-analytics`` interface is removed (:issue:`11308`).
Similar functionality can be found in the `Google2Pandas <https://github.com/panalysis/Google2Pandas>`__ package.
- ``pd.to_datetime`` and ``pd.to_timedelta`` have dropped the ``coerce`` parameter in favor of ``errors`` (:issue:`13602`)

- ``pandas.stats.fama_macbeth``, ``pandas.stats.ols``, ``pandas.stats.plm`` and ``pandas.stats.var``, as well as the top-level ``pandas.fama_macbeth`` and ``pandas.ols`` routines are removed. Similar functionaility can be found in the `statsmodels <shttp://www.statsmodels.org/dev/>`__ package. (:issue:`11898`)



Expand Down
4 changes: 2 additions & 2 deletions pandas/api/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TestPDApi(Base, tm.TestCase):
'json', 'lib', 'index', 'parser']

# these are already deprecated; awaiting removal
deprecated_modules = ['ols', 'stats', 'datetools']
deprecated_modules = ['stats', 'datetools']

# misc
misc = ['IndexSlice', 'NaT']
Expand Down Expand Up @@ -109,7 +109,7 @@ class TestPDApi(Base, tm.TestCase):
'expanding_max', 'expanding_mean', 'expanding_median',
'expanding_min', 'expanding_quantile',
'expanding_skew', 'expanding_std', 'expanding_sum',
'expanding_var', 'fama_macbeth', 'rolling_apply',
'expanding_var', 'rolling_apply',
'rolling_corr', 'rolling_count', 'rolling_cov',
'rolling_kurt', 'rolling_max', 'rolling_mean',
'rolling_median', 'rolling_min', 'rolling_quantile',
Expand Down
4 changes: 0 additions & 4 deletions pandas/stats/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
Common namespace of statistical functions
"""

# pylint: disable-msg=W0611,W0614,W0401

# flake8: noqa

from pandas.stats.moments import *
from pandas.stats.interface import ols
from pandas.stats.fama_macbeth import fama_macbeth
45 changes: 0 additions & 45 deletions pandas/stats/common.py

This file was deleted.

241 changes: 0 additions & 241 deletions pandas/stats/fama_macbeth.py

This file was deleted.

Loading