摘要:
#### dataframe删除特定条件的行 ##### 单条件删除行 ``` import pandas as pd a = ['Mary', 'Sellina','Zaca', 'mike', 'golla'] b = [26, 28, 27, 30, 40] data = {'name': a 阅读全文
摘要:
#### 将dataframe两列转为字典 ``` import pandas as pd a = ['Mary','Sellina','Zaca'] b = [26,28,27] data = {'name':a,'age':b} df = pd.DataFrame(data) ``` 将两列转为 阅读全文