合并字典
字符串分割成列表
字符串列表创建字符串
Python查看图片
itertools模块combinations
itertools中reduce
字典.get()方法
解压zip压缩包到指定文件路径...duplicated()].count() # 查看column_name字段数据重复的个数
数据选择
df[col] # 根据列名,并以Series的形式返回列
df[[col1,col2]] #....append(df2) # 将df2中的⾏添加到df1的尾部
df.concat([df1,df2],axis=1,join='inner') # 将df2中的列添加到df1的尾部,值为空的对应⾏与对应列都不要...print(m)
{'a': 1, 'b': 2, 'c': 4}
字符串分割成列表
string = "the author is beishanla"
s = string.split(" ")...s
['the', 'author', 'is', 'beishanla']
字符串列表创建字符串
l = ["the","author","is","beishanla"]
l = " ".join(