We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47a6635 commit 6e28b67Copy full SHA for 6e28b67
pandas/core/arrays/interval.py
@@ -1206,7 +1206,7 @@ def maybe_convert_platform_interval(values):
1206
"""
1207
if isinstance(values, (list, tuple)) and len(values) == 0:
1208
# GH 19016
1209
- # empty lists/tuples get object dtype by default, but this is not
+ # empty lists/tuples get object dtype by default, but this is
1210
# prohibited for IntervalArray, so coerce to integer instead
1211
return np.array([], dtype=np.int64)
1212
elif is_categorical_dtype(values):
0 commit comments