Skip to content

Releases: deppen8/pandas-vet

Version 2023.8.2

11 Aug 15:10
ded2485
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2023.8.1...v2023.8.2

Version 2023.8.1

11 Aug 14:55
e7f00a4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2023.8.0...v2023.8.1

Version 2023.8.0

10 Aug 21:37
5c32700
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.3...v2023.8.0

Version 0.2.3

09 Feb 03:17
Compare
Choose a tag to compare

This version contains an important fix for #98.

How to get it?

From PyPI:

pip install pandas-vet

From conda-forge:

conda install -c conda-forge pandas-vet

Version 0.2.1

29 Jul 01:14
afb6bf4
Compare
Choose a tag to compare

This version contains a few small fixes. Most notably, it fixes a bug with the PD015 check.

How to get it?

From PyPI:

pip install pandas-vet

From conda-forge:

conda install -c conda-forge pandas-vet

[0.2.1] - 2019-07-27

Added

  • Leandro Leites added as contributor (#66)

Removed

  • Unnecessary commented line from setup.py (#67)

Fixed

  • PD015 would fail if node.func.value did not have an id. Fixed with #65
  • version.py now correctly uses v0.2.x. This version file was not bumped with the last release. (#67)

Version 0.2.0

02 Apr 05:17
ba26f05
Compare
Choose a tag to compare

How to get it?

Available on PyPI at https://pypi.org/project/pandas-vet/0.2.0/

pip install pandas-vet

New warnings in v0.2.0

PD010 '.pivot_table' is preferred to '.pivot' or '.unstack'; provides same functionality

PD011 Use '.array' or '.to_array()' instead of '.values'; 'values' is ambiguous

PDO12 '.read_csv' is preferred to '.read_table'; provides same functionality

PD013 '.melt' is preferred to '.stack'; provides same functionality

PD015 Use '.merge' method instead of 'pd.merge' function. They have equivalent functionality.

Full list of implemented warnings

PD001: pandas should always be imported as 'import pandas as pd'

PD002: 'inplace = True' should be avoided; it has inconsistent behavior

PD003: '.isna' is preferred to '.isnull'; functionality is equivalent

PD004: '.notna' is preferred to '.notnull'; functionality is equivalent

PD005: Use arithmetic operator instead of method

PD006: Use comparison operator instead of method

PD007: '.ix' is deprecated; use more explicit '.loc' or '.iloc'

PD008: Use '.loc' instead of '.at'. If speed is important, use numpy.

PD009: Use '.iloc' instead of '.iat'. If speed is important, use numpy.

PD010 '.pivot_table' is preferred to '.pivot' or '.unstack'; provides same functionality

PD011 Use '.array' or '.to_array()' instead of '.values'; 'values' is ambiguous

PDO12 '.read_csv' is preferred to '.read_table'; provides same functionality

PD013 '.melt' is preferred to '.stack'; provides same functionality

PD015 Use '.merge' method instead of 'pd.merge' function. They have equivalent functionality.

Version 0.1.0

27 Feb 23:51
Compare
Choose a tag to compare

How to get it?

Available on PyPI at https://pypi.org/project/pandas-vet/0.1.0/

List of implemented warnings

PD001: pandas should always be imported as 'import pandas as pd'

PD002: 'inplace = True' should be avoided; it has inconsistent behavior

PD003: '.isna' is preferred to '.isnull'; functionality is equivalent

PD004: '.notna' is preferred to '.notnull'; functionality is equivalent

PD005: Use arithmetic operator instead of method

PD006: Use comparison operator instead of method

PD007: '.ix' is deprecated; use more explicit '.loc' or '.iloc'

PD008: Use '.loc' instead of '.at'. If speed is important, use numpy.

PD009: Use '.iloc' instead of '.iat'. If speed is important, use numpy.