Skip to content

Minor typo on warnings #39158

@MicaelJarniac

Description

@MicaelJarniac

warning_message = " ".join([
f"Columns ({warning_names}) have mixed types."
f"Specify dtype option on import or set low_memory=False."
])

"Columns ({warning_names}) have mixed types.Specify dtype option on import or set low_memory=False."
Note the lack of a space after the period on types.Specify. That's because there's no comma separating the strings inside the list, so they get appended while still inside the list, and get passed as a single string to " ".join(...), thus it has nothing to join.
Simply adding the missing comma should fix it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions