matplotlib绘制简单气泡图 import matplotlib.pyplot as plt import pandas as pd import numpy as np data = pd.read_csv("crimeRatesByState2005.csv") data = data[data.state != 'United States'] # print(data.head(5)) data = data[data.state != 'District of Columbia'] # print(data)