SettingWithCopyWarning: See the caveats in the documentation: http://pandas./pandas-docs/stable/indexing.html#indexing-view-versus-copy 解决思路带复制警告的设置: 解决方法参阅:http://pandas./pandas-docs/stable/user_guide/indexing.html 该问题是警告信息,不处理亦可运行程序,只需理解一下即可! The axis labeling information in pandas objects serves many purposes: Identifies data (i.e. provides metadata) using known indicators, important for analysis, visualization, and interactive console display. Enables automatic and explicit data alignment. Allows intuitive getting and setting of subsets of the data set. In this section, we will focus on the final point: namely, how to slice, dice, and generally get and set subsets of pandas objects. The primary focus will be on Series and DataFrame as they have received more development attention in this area. |
|