Join GitHub today
len-1 scalar is accepted as valid input for len >1 Series #18819
Code Sample, a copy-pastable example if possible
In : pd.Series(, [0,1]) Out: 0 1 1 1 dtype: int64
This is undocumented, conceptually wrong, works only because of an implementation glitch, and is used in 3 tests only - I think - by mistake.