Skip to content

Update 70.Pandas的应用-1.md #987

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions Day66-80/70.Pandas的应用-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ ser2[ser2 >= 500]
dtype: int64
```

####属性和方法
#### 属性和方法

Series对象的常用属性如下表所示。

Expand Down Expand Up @@ -358,7 +358,7 @@ dtype: float64
```Python
# backfill或bfill表示用后一个元素的值填充空值
# ffill或pad表示用前一个元素的值填充空值
ser4.fillna(method='ffill')
ser4.ffill()
```

输出:
Expand Down Expand Up @@ -683,4 +683,4 @@ plt.ylabel('各季度占比')
plt.show()
```

![](https://github.com/jackfrued/mypic/raw/master/20220619171503.png)
![](https://github.com/jackfrued/mypic/raw/master/20220619171503.png)