pandas使用isin函数和all函数判断dataframe特定数列中是否包含指定列表中的全部内容(checking if the dataframe column contains all value in the list)
目录
#仿真数据
import pandas as pd
import numpy as np
# 不显示关于在切片副本上设置值的警告
pd.options.mode.chained_assignment = None
# 一个 dataframe 最多显示60例
pd.set_option('display.max_columns', 100)
# 可视