Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
BUG: invalid constrution of a Series with dtype=str #19853
pd.Series('', dtype=str, index=range(1000))
Would it be possible to fix the behavior to initialize the series to
this takes a different path in master. We pretty much treat str as object. So this is a construction bug.
@jamesqo there is no reason to specify a dtype here as this will be inferred to
a PR to fix is welcome.