diff --git a/README.rst b/README.rst index 38d9c24..96bba48 100644 --- a/README.rst +++ b/README.rst @@ -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 --------------- @@ -61,6 +72,7 @@ adding those word(s) to the appropriate dictionaries: * `python dictionary `_ * `technical dictionary `_ * `django dictionary `_ +* `pandas dictionary `_ 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 diff --git a/flake8_spellcheck/pandas.txt b/flake8_spellcheck/pandas.txt new file mode 100644 index 0000000..ece770f --- /dev/null +++ b/flake8_spellcheck/pandas.txt @@ -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