可视化趋势

Python 金融入门

Adina Howe

Professor

您的任务——离群值?

市盈率散点图

Python 金融入门

步骤 1:绘制直方图

import matplotlib.pyplot as plt
plt.hist(hist_data, bins = 8)
plt.show()
Python 金融入门

步骤 2:识别离群值

  • 找出离群的市盈率
  • 创建布尔数组筛选该公司
  • 用此筛选从给定数据集中提取该公司信息
Python 金融入门

让我们练习!

Python 金融入门

Preparing Video For Download...