Registry / data / janitor-rs

janitor-rs

JSON →
library0.6.1pypypi✓ verified 85d ago

A Rust-powered data cleaning and preprocessing library for pandas DataFrames. Provides fast implementations of common janitor functions like clean_names, remove_empty, get_dupes, and more. Version 0.6.1. Release cadence: irregular.

pip install janitor-rs
INSTALL
IMPORT
SIG · JANITOR-RS
J
janitor-rs
datapythonv0.6.1
Install
1.7s avg
Import
Disk
22MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.6.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 23.6MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.7s · import 0.000s · 24MB
22MB installed
● package 22MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

janitor_rs
import janitor_rs
import janitorrs
Hyphen replaced with underscore.

Import janitor_rs, then use pipe to apply functions to a DataFrame.

import pandas as pd import janitor_rs df = pd.DataFrame({'A a': [1, None], 'B b': [2, 3]}) clean_df = df.pipe(janitor_rs.clean_names) print(clean_df.columns.tolist())
Debug
Known issues
breakingjanitor-rs 0.6.1 dropped the .clean_names attribute on DataFrame; must use df.pipe(janitor_rs.clean_names).
fix
Use pipe pattern instead of method chaining.
affects: 0.6.0+
gotchajanitor-rs functions do not modify DataFrames in place; they return new DataFrames.
fix
Assign the result: df = df.pipe(janitor_rs.clean_names).
affects: all
deprecatedimport janitor_rs as jn is common but may conflict with pyjanitor's jn alias.
fix
Use import janitor_rs or use alias jrs.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'janitor_rs'
pip installed 'janitor-rs' but import uses underscore.
fix
pip install janitor-rs, then import janitor_rs
AttributeError: 'DataFrame' object has no attribute 'clean_names'
In version 0.6.x, methods are no longer attached to DataFrame objects.
fix
Use df.pipe(janitor_rs.clean_names)
Upgrade
Version history
0.6.1latest on PyPI · released Jan 29, 2026
Audit
Dependencies
pandasrequiredOperates on pandas DataFrame objects
pyjanitoroptionaljanitor-rs is an alternative to pyjanitor; both may conflict if imported similarly
Agent activity
6 hits · last 30 days
node
6
Resources
janitor-rs — pip install janitor-rs · libregistry