-
-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Description
Pandas version checks
- I have checked that the issue still exists on the latest versions of the docs on
main
here
Location of the documentation
https://pandas.pydata.org/docs/dev/user_guide/duplicates.html#disallowing-duplicate-labels
Documentation problem
Document says,
Setting allows_duplicate_labels=True on a Series or DataFrame with duplicate labels or performing an operation that introduces duplicate labels on a Series or DataFrame that disallows duplicates will raise an errors.DuplicateLabelError.
But it should be allows_duplicate_labels=False
instead of True
Suggested fix for documentation
allows_duplicate_labels=True
-> allows_duplicate_labels=False