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

关于pandas进阶部分的数据滤重部分的代码 #8

Open
LiuLime opened this issue Jul 19, 2023 · 0 comments
Open

关于pandas进阶部分的数据滤重部分的代码 #8

LiuLime opened this issue Jul 19, 2023 · 0 comments

Comments

@LiuLime
Copy link

LiuLime commented Jul 19, 2023

在'pandas进阶-cheatsheet-code.ipynb'部分的数据滤重部分有
df.index.duplicated() #查找重复索引

df.dropna() #去除缺失值NaN
不太明白这里的df指的是什么数据,根据'pandas基础-cheatsheet-code.ipynb',df指的是country,capital和population的3x3矩阵,运行得到的结果跟进阶版jupyter里的结果不一致,可以请教一下么?
截屏2023-07-19 17 59 04
截屏2023-07-19 17 59 25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant