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 values #80

Open
99sun99 opened this issue Aug 7, 2019 · 4 comments
Open

pandas values #80

99sun99 opened this issue Aug 7, 2019 · 4 comments

Comments

@99sun99
Copy link

99sun99 commented Aug 7, 2019

显示结果不同
pandas 表格本来数据为:
A B C D E F
0 1.0 2013-01-02 1.0 3 test foo
1 1.0 2013-01-02 1.0 3 train foo
2 1.0 2013-01-02 1.0 3 test foo
3 1.0 2013-01-02 1.0 3 train foo

当我用pd.values 之后变成了

[[-0.16379874 -0.83048248 2.47750063 0.88128204]
[ 0.99402871 1.36858439 -0.73823559 0.22736741]
[ 1.23171536 0.36008269 0.63591057 0.84275845]
[-0.80315072 -0.97444123 0.38838448 0.73846645]
[-0.76956867 1.28131155 1.3510347 1.01261566]
[-0.67800466 0.73231185 1.14658132 0.20543637]]

查文档没有提到这个,请问您知道这个问题吗?非常感谢!

@soulstar205
Copy link

May I ask what values you are computing?

@AFallDay
Copy link

AFallDay commented Jan 9, 2024

因为视频用的是df2.value,不是df.value

@191578010
Copy link

191578010 commented Jan 9, 2024 via email

@obj1110
Copy link

obj1110 commented Jan 9, 2024 via email

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

5 participants