Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit29f277a

Browse files
minjk-blgitbook-bot
authored andcommitted
GITBOOK-45: Frame-Data Cleaning
1 parent7353224 commit29f277a

File tree

6 files changed

+19
-34
lines changed

6 files changed

+19
-34
lines changed
72.9 KB
Loading
14.7 KB
Loading
16.9 KB
Loading
17 KB
Loading
Lines changed: 18 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
#4-5. Frame - Data Cleaning
22

3+
<figure><imgsrc="../../.gitbook/assets/image (217).png"alt=""width="470"><figcaption></figcaption></figure>
34

4-
5-
<figure><imgsrc="../../.gitbook/assets/image (24).png"alt=""><figcaption></figcaption></figure>
6-
7-
1._**Fill NA**_: Replace NA with another value.
8-
2._**Drop NA**_: Remove rows or columns containing NA.
9-
3._**Fill Outlier**_: Replace outliers in specific columns.
10-
4._**Drop Outlier**_: Remove outliers in specific columns.
5+
1._**Fill NA**_: Replace the value NA with another value.
6+
2._**Drop NA**_: Removes rows or columns that contain NA values.
7+
3._**Fill Outlier**_: Replaces outliers in a specific column.
8+
4._**Drop Outlier**_: Removes outliers in a specific column.
119
5._**Drop Duplicates**_: Remove duplicate values.
1210

1311

@@ -16,48 +14,35 @@
1614

1715
###Fill NA
1816

17+
<figure><imgsrc="../../.gitbook/assets/image (218).png"alt=""width="388"><figcaption></figcaption></figure>
1918

20-
21-
<figure><imgsrc="../../.gitbook/assets/image (25).png"alt=""width="375"><figcaption></figcaption></figure>
22-
23-
1._**Method**_: Choose the filling method.
24-
25-
&#x20; 1-1._**Value**_: Replace NA with the specified input value.
26-
27-
&#x20; 1-2._**Forward/Back Fill**_: Replace NA with values from the front/back. If NA is consecutive, you can set the '_**Limit**_' to determine how many values to fill.
28-
29-
&#x20; 1-3._**Statistics**_: Fill in with statistical properties.
19+
1._**Method**_: Select a fill method.
20+
1.**Replace**_**Value**_: NA with the input value.
21+
2._**Forward/Back Fill**_: Replace the NA with the value before/after it. If there are consecutive NA's, you can limit the fill to only a few NA's.
22+
3._**Statistics**_: Replace NA with Statistics.
3023

3124

3225

3326
***
3427

3528
###Drop NA
3629

37-
38-
39-
<figure><imgsrc="../../.gitbook/assets/image (28).png"alt=""width="375"><figcaption></figcaption></figure>
30+
<figure><imgsrc="../../.gitbook/assets/image (219).png"alt=""width="398"><figcaption></figcaption></figure>
4031

4132
1._**How**_
42-
43-
&#x20; 1-1._**Select Options**_: Keep only rows with the number of non-NA values set by the_**threshold**_, and delete the rest.
44-
45-
&#x20; 1-2._**Any**_: Delete rows if there is at least one NA in the row.
46-
47-
&#x20; 1-3._**All**_: Delete rows if all values in the row are NA.
48-
49-
2._**Ignore Index**_: Choose whether to reset the index after row deletion.
33+
1._**Select Options**_: If the number of non-missing values in any row is less than the value set in_**Threshold**,_ delete that row.
34+
2._**Any**_: If there is any NA in the row, delete the row.
35+
3._**All**_: If all values in a row are NA, delete the row.
36+
2._**Ignore Index**_: Choose whether to reset the index after the operation.
5037

5138

5239

5340
***
5441

5542
###Drop Duplicates
5643

44+
<figure><imgsrc="../../.gitbook/assets/image (220).png"alt=""width="371"><figcaption></figcaption></figure>
5745

58-
59-
<figure><imgsrc="../../.gitbook/assets/image (29).png"alt=""width="375"><figcaption></figcaption></figure>
60-
61-
1._**Keep**_: Choose the value to retain among the duplicate values. Selecting_**False**_ will result in the deletion of all duplicate values.
62-
2.&#x20;_**Ignore Index**_: Choose whether to reset the index after duplicate values deletion.
46+
1._**Keep**_: Select which of the duplicate values you want to keep. If you select_**False**,_ all duplicate values will be deleted.
47+
2._**Ignore Index**_: Choose whether to reset the index after the operation.
6348

‎docs/data-analysis/5.-subset.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description:Extractthe Desired Portion from the Data Frame
2+
description:Extractvalues that meet specific conditions.
33
---
44

55
#5. Subset

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp