-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
BugNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member
Description
There are too many functions in dtypes.cast
, making it difficult to know which one to use in a given situation. e.g. when working with Index.insert
in #38102 I considered maybe_promote
, maybe_upcast
, maybe_casted_values
, find_common_type
.
Best case scenario we can de-duplicate some of these and just remove some of them, but failing that, I think we could find new homes for e.g. construct_1d_arraylike_from_scalar
, construct_1d_object_array_from_listlike
, construct_1d_ndarray_preserving_na
.
Metadata
Metadata
Assignees
Labels
BugNeeds TriageIssue that has not been reviewed by a pandas team memberIssue that has not been reviewed by a pandas team member