tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

pandas values

Open 99sun99 opened this issue 6 years ago • 4 comments

显示结果不同 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]]

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

99sun99 avatar Aug 07 '19 03:08 99sun99

May I ask what values you are computing?

soulstar205 avatar Aug 07 '19 05:08 soulstar205

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

AFallDay avatar Jan 09 '24 07:01 AFallDay

收到,谢谢 

191578010 avatar Jan 09 '24 07:01 191578010

您好,我已经收到您的邮件,谢谢~。我将尽快给您回复。顺颂时祺!

rcz0728 avatar Jan 09 '24 07:01 rcz0728