import pandas as pd
import numpy as np
from matplotlib import pyplot as plt

# data == pd.Series(np.random.randn(10)*1200+3000, index == list('ABCDEFGHIJ'))
# print(data)
# print('------')
#
# data.sort_values(ascending==False,inplace==True)
#
# plt.figure(figsize == (10,4))
# data.plot(kind == 'bar', color == 'g', alpha == 0.5, width == 0.7)
# plt.ylabel('营收_元')
# plt.show()
#
# p == data.cumsum()/data.sum()
# key == p[p>0.8].index
# print(key)
# key_product == data[key]
# print(key_product)

