Visualize-ML / Book1_Python-For-Beginners

Book_1_《编程不难》 | 鸢尾花书:从加减乘除到机器学习;请多多批评指正!
4.21k stars 803 forks source link

Book_1_Ch_19代码问题 #155

Closed tnsongs closed 3 months ago

tnsongs commented 3 months ago

DataFrame中没有iteritems(),应该是items()。

image

Visualize-ML commented 3 months ago

谢谢你,确实在未来版本这个方法会失效。

https://pandas.pydata.org/pandas-docs/version/1.3/reference/api/pandas.DataFrame.iteritems.html

On Mon, Apr 1, 2024 at 10:29 PM xiaoyou @.***> wrote:

DataFrame中没有iteritems(),应该是items()。

image.png (view on web) https://github.com/Visualize-ML/Book1_Python-For-Beginners/assets/39915148/f384558a-936d-4ec8-be53-69a7f55afb67

— Reply to this email directly, view it on GitHub https://github.com/Visualize-ML/Book1_Python-For-Beginners/issues/155, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZHC6V42K57ZRYD4VZITOUTY3IJY7AVCNFSM6AAAAABFSRBMNGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYTSNBTG44TGNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>