摘要:
依赖df.apply中的 result_type='expand' def merge_tri_to_item(df): return [item_name, item_state, item_status] items_df[['item_name', 'item_state', 'item_st 阅读全文
摘要:
在reset_index 的时候,index变为0开始, 可以使用df.index = df.index+1 变换 阅读全文
摘要:
df对象中有列数据为空列表, 在后续处理中需要剔除这些数据 按照正常处理 条件为 df['hosts'] == [] 可以通过bool来处理 通过astype 查出为空的元素, 通过元素长度检查 为0的即为空元素 阅读全文
摘要:
![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627232533079-584288304.png) 阅读全文
摘要:
![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627232231506-4483155.png) ![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627232305625-279643649.png) ![](https://img2 阅读全文
摘要:
![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627231740141-187577260.png) ![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627231745709-1622205376.png) ![](https://i 阅读全文
摘要:
![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627231237041-2114877909.png)![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627231342056-789706411.png)![](https://img... 阅读全文
摘要:
![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627230829553-1916303956.png) 阅读全文
摘要:
![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627230741760-1839685654.png) ![](https://img2020.cnblogs.com/blog/1361758/202006/1361758-20200627230751696-1206250672.png) 阅读全文
摘要:
阅读全文