Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optionally disallow duplicate labels #28394

Merged
merged 49 commits into from
Sep 3, 2020
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
090a758
ENH: Optionally disallow duplicate labels
TomAugspurger Jun 7, 2020
0962d19
fixup memory_usage test
TomAugspurger Jun 8, 2020
8e0089c
pickle
TomAugspurger Jun 8, 2020
6a2d568
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Jun 10, 2020
b9873db
lint
TomAugspurger Jun 10, 2020
d326ed5
doc
TomAugspurger Jun 10, 2020
fba3536
fixups
TomAugspurger Jun 10, 2020
7de8327
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Jun 17, 2020
f1e5932
handle concat
TomAugspurger Jun 17, 2020
c0f6390
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Jun 18, 2020
3dad6d5
handle mi
TomAugspurger Jun 18, 2020
e81327d
note on setting
TomAugspurger Jun 18, 2020
3254b8b
fixup
TomAugspurger Jun 18, 2020
04b6322
fix import, docs
TomAugspurger Jun 22, 2020
0c3db5b
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Jun 22, 2020
fdcdb31
handle insert
TomAugspurger Jun 22, 2020
cb7aeb3
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Jun 29, 2020
7d71326
wip inplace
TomAugspurger Jun 29, 2020
c0a6105
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Jun 30, 2020
3fa067d
tests for inplace duplicates
TomAugspurger Jun 30, 2020
91ca7a1
move to generic
TomAugspurger Jun 30, 2020
097dd1c
fixup
TomAugspurger Jun 30, 2020
8248634
add note
TomAugspurger Jun 30, 2020
df42b44
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Aug 5, 2020
aff9303
update
TomAugspurger Aug 5, 2020
64334ca
update
TomAugspurger Aug 5, 2020
bef80bd
update
TomAugspurger Aug 5, 2020
7d09c8b
fixup docs
TomAugspurger Aug 5, 2020
674cb97
typing
TomAugspurger Aug 5, 2020
cc80b02
fixed typo
TomAugspurger Aug 6, 2020
c9030f1
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Aug 7, 2020
457683c
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Aug 20, 2020
4ced351
todo
TomAugspurger Aug 21, 2020
f5bb12c
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Aug 24, 2020
4f7c350
flags
TomAugspurger Aug 24, 2020
ecb97d5
rm _flags
TomAugspurger Aug 24, 2020
d1a81fb
fixups
TomAugspurger Aug 24, 2020
74a4eb8
lint
TomAugspurger Aug 24, 2020
50042e1
lint
TomAugspurger Aug 25, 2020
6a1560f
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Aug 26, 2020
f61118d
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Aug 27, 2020
a336027
Pickle
TomAugspurger Aug 27, 2020
60c853c
Doc
TomAugspurger Aug 27, 2020
cb5d4f2
test flags
TomAugspurger Aug 27, 2020
98af7b5
pickle
TomAugspurger Aug 28, 2020
3a50741
remove debug
TomAugspurger Aug 28, 2020
675e49d
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Aug 31, 2020
e88f7e2
Merge remote-tracking branch 'upstream/master' into unique-index
TomAugspurger Sep 1, 2020
bf23fda
fixups
TomAugspurger Sep 1, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update
TomAugspurger committed Aug 5, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 64334caf228cc9fd1aba2a86e07d2eeb1c9e9d20
4 changes: 3 additions & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
@@ -266,7 +266,9 @@ def allows_duplicate_labels(self, value: bool):
# avoid `can_hold_identifiers` check.
object.__setattr__(self, "_allows_duplicate_labels", value)

def set_flags(self, *, allows_duplicate_labels: Optional[bool] = None) -> FrameOrSeries:
def set_flags(
self, *, allows_duplicate_labels: Optional[bool] = None
) -> FrameOrSeries:
"""
Set global attributes on a copy of this object.