-
-
Notifications
You must be signed in to change notification settings - Fork 19.9k
sets in str.cat?! #23009
Copy link
Copy link
Closed
Labels
API DesignStringsString extension data type and string dataString extension data type and string data
Milestone
Metadata
Metadata
Assignees
Labels
API DesignStringsString extension data type and string dataString extension data type and string data
In #20347, I was asked to allow list-like inputs for the
.str.catmethods for Series. However, I didn't know thatis_listlike({'a', 'b', 'c'})is True (for sets) until I stumbled over it in #22486.These objects should imo clearly be disallowed, lest users shoot themselves in the foot massively:
I'm not even sure this should go through a deprecation cycle - IMO it's just a plain ol' bug that should be fixed ASAP.