Data Cleaning Duplicates: Duplicated Method (#38719)
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
3a91d88b1e
commit
9901cc49de
@ -14,13 +14,12 @@ videoId: kj7QqjXhH6A
|
|||||||
|
|
||||||
```yml
|
```yml
|
||||||
question:
|
question:
|
||||||
text: Question
|
text: 'The Python method <code>.duplicated()</code> returns a boolean Series for your DataFrame. <code>True</code> is the return value for rows that:'
|
||||||
answers:
|
answers:
|
||||||
- one
|
- contain a duplicate, where the value for the row contains the first occurrence of that value.
|
||||||
- two
|
- contain a duplicate, where the value for the row is at least the second occurrence of that value.
|
||||||
- three
|
- contain a duplicate, where the value for the row contains either the first or second occurrence.
|
||||||
solution: 3
|
solution: 2
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user