📜  python代码示例中所有列的箱线图

📅  最后修改于: 2022-03-11 14:46:37.798000             🧑  作者: Mango

代码示例1
import seaborn as sns

df = pd.DataFrame(data = np.random.random(size=(4,4)), columns = ['A','B','C','D'])

sns.boxplot(x="variable", y="value", data=pd.melt(df))