Bug in Series.str.repeat with string dtype and sequence of repeats #31632
Labels
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
NA - MaskedArrays
Related to pd.NA and nullable extension arrays
Strings
String extension data type and string data
Milestone
Code Sample, a copy-pastable example if possible
Problem description
The
str_repeat
method correctly handles NA values whenrepeats
is a scalar, but fails when its a sequence.Expected Output
The text was updated successfully, but these errors were encountered: