44 lines
1.2 KiB
Markdown
44 lines
1.2 KiB
Markdown
![]() |
---
|
||
|
id: 5e9a093a74c4063ca6f7c15f
|
||
|
title: データクリーニングの重複
|
||
|
challengeType: 11
|
||
|
videoId: kj7QqjXhH6A
|
||
|
bilibiliIds:
|
||
|
aid: 675611672
|
||
|
bvid: BV1VU4y1A7tu
|
||
|
cid: 409019368
|
||
|
dashedName: data-cleaning-duplicates
|
||
|
---
|
||
|
|
||
|
# --description--
|
||
|
|
||
|
*動画で説明しているように、notebooks.ai を使用する代わりに Google Colab を使用することができます。*
|
||
|
|
||
|
その他のリソース:
|
||
|
|
||
|
- [GitHub のノート](https://github.com/ine-rmotr-curriculum/data-cleaning-rmotr-freecodecamp)
|
||
|
- [Google Colab を使用して GitHub からノートを開く方法](https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb)
|
||
|
|
||
|
# --question--
|
||
|
|
||
|
## --text--
|
||
|
|
||
|
Python のメソッドである `.duplicated()` は、DataFrame の Series をブール値で返します。 戻り値が `True` となる行は次のうちどれですか?
|
||
|
|
||
|
## --answers--
|
||
|
|
||
|
重複が含まれていて、行の値にその値の最初の出現が含まれている行。
|
||
|
|
||
|
---
|
||
|
|
||
|
重複が含まれていて、行の値がその値の 2 回目以上の出現になっている行。
|
||
|
|
||
|
---
|
||
|
|
||
|
重複が含まれていて、行の値に最初または 2 回目の出現が含まれている行。
|
||
|
|
||
|
## --video-solution--
|
||
|
|
||
|
2
|
||
|
|