Skip to content

Update dataframe.convert_string to dataframe.convert-string#10191

Merged
jrbourbeau merged 1 commit intodask:mainfrom
j-bennet:j-bennet/hyphenate-convert-string
Apr 14, 2023
Merged

Update dataframe.convert_string to dataframe.convert-string#10191
jrbourbeau merged 1 commit intodask:mainfrom
j-bennet:j-bennet/hyphenate-convert-string

Conversation

@j-bennet
Copy link
Copy Markdown
Contributor

Cosmetic change, just to be consistent with the rest of the config settings.

  • Passes pre-commit run --all-files

@j-bennet j-bennet changed the title Hyphenate config setting convert_string -> convert-string, for consistency Hyphenate config setting convert_string -> convert-string Apr 14, 2023
@github-actions github-actions bot added dataframe documentation Improve or add to documentation io labels Apr 14, 2023
@j-bennet j-bennet requested a review from jrbourbeau April 14, 2023 05:20
Copy link
Copy Markdown
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @j-bennet! This is in

import dask

if dask.config.get("dataframe.convert_string"):
if bool(dask.config.get("dataframe.convert-string")):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC this should already be a bool, so I don't think the bool call here is necessary. It's also not incorrect, just wanted to point this out

@jrbourbeau jrbourbeau changed the title Hyphenate config setting convert_string -> convert-string Update dataframe.convert_string to dataframe.convert-string Apr 14, 2023
@jrbourbeau jrbourbeau merged commit d00af9c into dask:main Apr 14, 2023
@j-bennet j-bennet deleted the j-bennet/hyphenate-convert-string branch April 14, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dataframe documentation Improve or add to documentation io upstream

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants