Data Analysis

pyjanitor – readable data cleaning and transformation

pyjanitor extends pandas with functions for cleaning, transforming and preparing tabular data. It is designed to make common preprocessing tasks easier to express, helping users construct readable analytical workflows instead of writing repetitive data manipulation code.

The library supports method chaining, allowing a sequence of transformations to be expressed as a single, logically ordered pipeline. This approach can make complex data preparation operations easier to inspect, maintain and reproduce.

pyjanitor is useful for dealing with inconsistent column names, missing observations, differently structured tables and datasets that need reshaping before analysis. It also provides more specialised operations for combining datasets according to conditions that go beyond conventional equality-based joins.

This is free and open source software.

Key Features

  • Extend pandas DataFrames with additional cleaning and transformation methods.
  • Method chaining for constructing sequential data-processing pipelines.
  • Standardise column and index names through configurable cleaning rules.
  • Remove empty rows and columns and handle missing values.
  • Select, rename, reorder and transform columns using expressive operations.
  • Reshape DataFrames between wide and long forms using pivot_longer and pivot_wider.
  • Conditional joins supporting equality, inequality and range-based matching.
  • Aggregate matched values through join_agg operations.
  • Combine values from multiple columns using coalescing and related functions.
  • Convert supported date and timestamp representations.
  • Identify and process duplicate records.
  • Transform column values and derive additional analytical variables.
  • Support selected data-preparation workflows involving feature and target columns.
  • Interoperate with existing pandas analytical operations and data structures.

Website: github.com/pyjanitor-devs/pyjanitor
Support:
Developer: pyjanitor-devs
License: MIT License

pyjanitor is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Python Data Analysis
pandasHigh-level building block for doing practical, real world data analysis
NumPyCore package for scientific computing with Python
SciPyEcosystem for mathematics, science, and engineering
PolarsDataFrame interface on top of an OLAP Query Engine
statsmodelsStatistical modeling and econometrics in Python
DaskAdvanced parallelism for analytics
OrangeComponent-based framework for machine learning and data mining
ModinDrop-in replacement for pandas
VaexFast visualization of big data
AWS DWExtends the power of pandas library
ytMulti-code Toolkit for Analyzing and Visualizing Volumetric Data
HoloViewsMake Data Analysis and Visualization Seamless
datatableManipulate 2-dimensional tabular data structures
xarrayWork with labelled multi-dimensional arrays and datasets
pyjanitorExtend pandas with readable data-cleaning functions
OptimusAgile Data Preparation Workflows

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted