{"id":21478,"library":"janitor-rs","title":"janitor-rs","description":"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.","status":"active","version":"0.6.1","language":"python","source_language":"en","source_url":"https://github.com/ericmjl/janitor-rs","tags":["data-cleaning","pandas","rust","preprocessing"],"install":[{"cmd":"pip install janitor-rs","lang":"bash","label":"Standard install"}],"dependencies":[{"reason":"Operates on pandas DataFrame objects","package":"pandas","optional":false},{"reason":"janitor-rs is an alternative to pyjanitor; both may conflict if imported similarly","package":"pyjanitor","optional":true}],"imports":[{"note":"Hyphen replaced with underscore.","wrong":"import janitorrs","symbol":"janitor_rs","correct":"import janitor_rs"}],"quickstart":{"code":"import pandas as pd\nimport janitor_rs\ndf = pd.DataFrame({'A a': [1, None], 'B b': [2, 3]})\nclean_df = df.pipe(janitor_rs.clean_names)\nprint(clean_df.columns.tolist())","lang":"python","description":"Import janitor_rs, then use pipe to apply functions to a DataFrame."},"warnings":[{"fix":"Use pipe pattern instead of method chaining.","message":"janitor-rs 0.6.1 dropped the .clean_names attribute on DataFrame; must use df.pipe(janitor_rs.clean_names).","severity":"breaking","affected_versions":"0.6.0+"},{"fix":"Assign the result: df = df.pipe(janitor_rs.clean_names).","message":"janitor-rs functions do not modify DataFrames in place; they return new DataFrames.","severity":"gotcha","affected_versions":"all"},{"fix":"Use import janitor_rs or use alias jrs.","message":"import janitor_rs as jn is common but may conflict with pyjanitor's jn alias.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip install janitor-rs, then import janitor_rs","cause":"pip installed 'janitor-rs' but import uses underscore.","error":"ModuleNotFoundError: No module named 'janitor_rs'"},{"fix":"Use df.pipe(janitor_rs.clean_names)","cause":"In version 0.6.x, methods are no longer attached to DataFrame objects.","error":"AttributeError: 'DataFrame' object has no attribute 'clean_names'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}