← Back to all sparks
P

pyjanitor

DEVOPS
Velocity0.0

Clean APIs for data cleaning in Python

pyjanitor is folding its verbs into pandas groupby objects, one release at a time.

pandasdata-cleaninggroupbyapi-consistencypython
Current state
pyjanitor is at v0.32.23, whose changelog states outright that it contains no new features, no bug fixes and no breaking changes — only two dependency bumps. The work that mattered ran a month or two earlier: an assign method on groupby objects, support for referencing columns with pd.col, the migration of by methods onto groupby objects with deprecation warnings for the old forms, and a pivot_longer refactor for speed.
Where it's heading
The direction is convergence with pandas rather than divergence from it. Instead of offering parallel verbs that take a by argument, pyjanitor is attaching its operations to the groupby object pandas already gives you, and adopting pd.col-style column references where they exist. The recent releases suggest that push has paused into dependency maintenance.
Prediction
With by methods migrated and their old forms warning, the next substantive release most likely removes the deprecated groupby entry points rather than adding verbs.

Recent moves

  1. 4mo ago

    Dependency bumps only; no functional changes

    The changelog states there are no new features, bug fixes or breaking changes — two dependency bumps in CI and dev requirements. A version number and nothing more.

    View source ↗
  2. 4mo ago

    Codecov GitHub Action bumped to v6

    A single bump of the Codecov GitHub Action from v5 to v6. CI plumbing with no reach into the package.

    View source ↗
  3. 4mo ago

    pivot_longer refactored for speed on pandas

    pivot_longer is refactored for pandas with more efficient checks and indexing rather than concatenation. A speed change to one of the package's most-used verbs.

    View source ↗
  4. 5mo ago

    by methods migrate to groupby objects, old forms deprecated

    Moves by methods onto groupby objects and warns on the outdated forms, aligning the API with how pandas expresses grouping. The clearest step in the convergence-with-pandas arc.

    View source ↗
  5. 6mo ago

    pd.col column references supported in DataFrame operations

    Adds support for referencing columns with pd.col where possible, letting expressions name columns instead of threading strings through calls. Adopting a pandas idiom rather than inventing one.

    View source ↗
  6. 6mo ago

    assign method added to groupby objects

    Adds an assign method to the groupby object so columns can be added or modified within each group. The first of the groupby-attachment changes this window is built on.

    View source ↗