diff --git a/ci/requirements-optional-pip.txt b/ci/requirements-optional-pip.txt index bdee3567fa2ca..ebe0c4ca88ee6 100644 --- a/ci/requirements-optional-pip.txt +++ b/ci/requirements-optional-pip.txt @@ -17,7 +17,7 @@ numexpr>=2.6.1 openpyxl==2.5.5 pyarrow pymysql -pytables>=3.4.2 +tables pytest-cov pytest-xdist s3fs diff --git a/ci/travis-36.yaml b/ci/travis-36.yaml index 7aa27beacf976..89f2aa2251383 100644 --- a/ci/travis-36.yaml +++ b/ci/travis-36.yaml @@ -10,6 +10,7 @@ dependencies: - feather-format - flake8>=3.5 - flake8-comprehensions + - flake8-rst - gcsfs - geopandas - html5lib diff --git a/pandas/core/accessor.py b/pandas/core/accessor.py index 59f21ddfb3d3f..6694737737562 100644 --- a/pandas/core/accessor.py +++ b/pandas/core/accessor.py @@ -206,7 +206,7 @@ def decorator(accessor): def __init__(self, pandas_object): # noqa: E999 ... - + For consistency with pandas methods, you should raise an ``AttributeError`` if the data passed to your accessor has an incorrect dtype.