📜  工作日的 seaborn 条形图排序 - Python 代码示例

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

代码示例1
# adapted from answer of Stack Overflow user in the source link

order = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
sns.barplot(x = df['weekday'], y = df['col'], order = order)