{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/4"}],"enrichment":{"capability":"Extends pandas DataFrames with method-chainable data-cleaning functions, enabling readable, verb-based operations for common preprocessing tasks like column renaming, null removal, and data transformation.","skillfed_tags":["data-cleaning","pandas-extension","method-chaining"],"use_cases":["Clean messy column names (spaces, mixed case, special characters) in a single method call before analysis.","Chain multiple DataFrame transformations (drop nulls, rename columns, add computed fields) in a single readable expression.","Preprocess raw data exports (Excel, CSV) by removing empty rows and columns and standardizing formats in one pipeline.","Prepare machine learning datasets by splitting features and targets and encoding categorical variables declaratively.","Expand delimited or categorical columns into dummy-encoded variables for statistical modeling."],"what_it_does":"pyjanitor is a pandas extension that adds a collection of data-cleaning methods designed to work as part of method chains. Instead of writing imperative pandas code with intermediate variable assignments, you can express a sequence of cleaning steps as a readable chain of method calls\u2014each with an explicit verb name like clean_names(), remove_empty(), or rename_column(). The package is inspired by the R janitor package and the dplyr paradigm, bringing that fluent, declarative style to Python.\n\nUnder the hood, pyjanitor registers its functions as pandas DataFrame methods via pandas-flavor and depends on scipy, natsort, multipledispatch, and janitor-rs for its operations. It handles common preprocessing tasks: standardizing column names, removing null or empty rows and columns, identifying duplicates, encoding categorical data, splitting features and targets, coalescing columns, date conversions, and expanding delimited values into dummy variables. The package is actively maintained, supports Python 3.8 and later, and carries no known security vulnerabilities.","worth_installing":"Yes. pyjanitor solves a real readability and usability gap in pandas workflows. Low install friction, active maintenance, permissive MIT license, no known vulnerabilities, and strong adoption make it a safe, practical choice for teams that value readable data-cleaning code. Install it if you work with pandas and want method chains to replace imperative preprocessing logic."},"id":"pyjanitor","links":{"html":"https://skillfed.io/packages/pyjanitor","md":"https://skillfed.io/packages/pyjanitor.md","pypi":"https://pypi.org/project/pyjanitor/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-07","license_spdx":null,"license_treatment":"permissive","name":"pyjanitor","python_support":"supports_current","summary":"Tools for cleaning pandas DataFrames"},"popularity":{"monthly_downloads":383172,"position":7079,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.32.23"}
