Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SparseSeries.combine_first(Series) fails when combining with a Series #687
Contrary to the documentation, the SparseSeries code, when doing a combine_first, actually assumes the other series is a SparseSeries. It performs a other.to_dense(), which fails on a Series.
I changed my code locally to the following, which seems to work (though I'm sure there is a more elegant way):