import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns

from IPython import display
display.set_matplotlib_formats('svg')
sns.set(font='SimHei', font_scale=1.5)

# 解决Seaborn中文显示问题并调整字体大小
import matplotlib.inline
matplotlib.inline.backend_inline.set_matplotlib_formats('svg')

# 爬虫用了很粗暴的抓HTML再用xpath解析的方式,反反爬用了简单的UA伪装