效果展示
*
Python代码
import pandas as pd
import matplotlib.pyplot as plt
import matplotlib as mpl
data = pd.read_csv('taobao_data.csv', index_col='\u4f4d\u7f6e')
data.drop(['宝贝', '卖家'], inplace=True, axis=1)
data = data.groupby(['位置']).mean().sort_values(by='\u6210\u4ea4\u91cf')
print(data.head())
fig, axis = plt.subplots(2, 2)
1