Skip to content

Add space before colon in RareLabelEncoder docstrings - #1115

Open
sujalkurkute wants to merge 1 commit into
feature-engine:narwhals-migrationfrom
sujalkurkute:docstring-colon-encoding
Open

sujalkurkute wants to merge 1 commit into
feature-engine:narwhals-migrationfrom
sujalkurkute:docstring-colon-encoding

Conversation

@sujalkurkute

Copy link
Copy Markdown

Part of #1059 .

Adds a space before the colon in parameter, attribute and return entries of the
encoding module docstrings (X: dataframe -> X : dataframe), as numpydoc
expects.

Work in progress: starting with RareLabelEncoder; the rest of the
encoding module will follow in this same PR.

@solegalli

Copy link
Copy Markdown
Collaborator

Thank you @sujalkurkute I look forward to the rest of the changes. Please target the PR to the narwhals-migration branch where we have the latest version of the code.

@sujalkurkute
sujalkurkute force-pushed the docstring-colon-encoding branch from 8de104a to 215c3cd Compare November 21, 2026 14:29
@sujalkurkute
sujalkurkute changed the base branch from main to narwhals-migration November 21, 2026 15:11
@sujalkurkute

Copy link
Copy Markdown
Author

Thanks @solegalli! I've retargeted this PR to narwhals-migration and rebased my changes onto it. It currently covers RareLabelEncoder, and I'll add the rest of the encoding module to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants