Open 99sun99 opened 5 years ago
显示结果不同 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]]
查文档没有提到这个,请问您知道这个问题吗?非常感谢!
May I ask what values you are computing?
因为视频用的是df2.value,不是df.value
收到,谢谢
您好,我已经收到您的邮件,谢谢~。我将尽快给您回复。顺颂时祺!
显示结果不同 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]]
查文档没有提到这个,请问您知道这个问题吗?非常感谢!