-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Dtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.
Milestone
Description
Working on a PeriodArray. For the first thing I tried, Series.combine
doesn't work.
In
Lines 2324 to 2330 in 7343fd3
elif is_extension_array_dtype(self.values): | |
# The function can return something of any type, so check | |
# if the type is compatible with the calling EA | |
try: | |
new_values = self._values._from_sequence(new_values) | |
except TypeError: | |
pass |
ValueError
since the freq can't be inferred.
I think that should be except Exception
instead. Thoughts @Dr-Irv?
Metadata
Metadata
Assignees
Labels
Dtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsExtensionArrayExtending pandas with custom dtypes or arrays.Extending pandas with custom dtypes or arrays.