Skip to content

Commit 0b12707

Browse files
committed
add list of warnings to README
1 parent 4595a1f commit 0b12707

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ $ flake8 ...
3939

4040
See the [`flake8` docs](http://flake8.pycqa.org/en/latest/user/invocation.html) for more information.
4141

42+
For a full list of implemented warnings, see [the list below](#list-of-warnings).
43+
4244
## Contributing
4345

4446
`pandas-vet` is still in the very early stages. Contributions are welcome from the community on code, tests, docs, and just about anything else.
@@ -90,3 +92,23 @@ flake8 pandas_vet setup.py tests --exclude tests/data
9092
- Charles Simchick
9193
- [Aly Sivji](https://twitter.com/CaiusSivjus)
9294
- Tim Smith
95+
96+
## List of warnings
97+
98+
**PD001:** pandas should always be imported as 'import pandas as pd'
99+
100+
**PD002:** 'inplace = True' should be avoided; it has inconsistent behavior
101+
102+
**PD003:** '.isna' is preferred to '.isnull'; functionality is equivalent
103+
104+
**PD004:** '.notna' is preferred to '.notnull'; functionality is equivalent
105+
106+
**PD005:** Use arithmetic operator instead of method
107+
108+
**PD006:** Use comparison operator instead of method
109+
110+
**PD007:** '.ix' is deprecated; use more explicit '.loc' or '.iloc'
111+
112+
**PD008:** Use '.loc' instead of '.at'. If speed is important, use numpy.
113+
114+
**PD009:** Use '.iloc' instead of '.iat'. If speed is important, use numpy.

0 commit comments

Comments
 (0)