Skip to content

Commit

Permalink
Merge pull request #59 from aaronzipp/pandas
Browse files Browse the repository at this point in the history
Add dictionary for pandas
  • Loading branch information
MichaelAquilina authored Jan 16, 2022
2 parents ca0da3a + ccb7dd9 commit 3a4cb47
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ flake8 configuration (e.g. your ``.flake8`` file):
[flake8]
dictionaries=en_US,python,technical,django
Enable pandas support
---------------------

You can enable support for pandas DataFrames by adding the following to your
flake8 configuration (e.g. your ``.flake8`` file):

.. code-block:: ini
[flake8]
dictionaries=en_US,python,technical,pandas
Specify Targets
---------------
Expand Down Expand Up @@ -61,6 +72,7 @@ adding those word(s) to the appropriate dictionaries:
* `python dictionary <flake8_spellcheck/python.txt>`_
* `technical dictionary <flake8_spellcheck/technical.txt>`_
* `django dictionary <flake8_spellcheck/django.txt>`_
* `pandas dictionary <flake8_spellcheck/pandas.txt>`_

Before you submit a PR, it is recommended to run ``check-sorting.sh`` in the root of this repository,
to verify that all the dictionary files are still sorted correctly. Sorting is enforced by CI, so
Expand Down
61 changes: 61 additions & 0 deletions flake8_spellcheck/pandas.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
agg
applymap
asfreq
asof
astype
backfill
bfill
boxplot
corrwith
cov
csv
cummax
cummin
cumprod
cumsum
droplevel
dropna
dtypes
ewm
ffill
fillna
floordiv
gbq
groupby
hdf
iat
idxmax
idxmin
iloc
isin
isna
iterrows
itertuples
kurtosis
mul
ndim
nlargest
notna
notnull
nsmallest
numpy
nunique
quantile
radd
rdiv
reindex
resample
rfloordiv
rmod
rmul
rpow
rsub
rtruediv
sem
stata
swapaxes
swaplevel
truediv
tshift
unstack
xarray

0 comments on commit 3a4cb47

Please sign in to comment.