wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Other
22.27k stars 15.19k forks source link

typo in section Removing Duplicates #176

Closed codeandstats closed 1 year ago

codeandstats commented 1 year ago

Regarding section

I believe the False in the following sentence should be a True ?

Relatedly, drop_duplicates returns a DataFrame with rows where the duplicated array is False filtered out

wesm commented 1 year ago

Thanks for the report — I think the issue is the interpretation of "filtered out". For some this might mean "included" and for others "excluded". I will update the text to be clear that it means "excluded".