import pyecharts
pyecharts.__version__
import pandas as pd
from pyecharts.charts import Map
from pyecharts.charts import Bar
from pyecharts.charts import Line
from pyecharts.charts import Grid
from pyecharts.charts import Pie
from pyecharts.charts import Scatter
from pyecharts import options as opts
df = pd.read_csv('/home/mw/input/2106127584/二手房数据.csv', encoding = 'gb18030')
df.head(10)
df.describe()
g = df.groupby('市区')
df_region = g.count()['小区']
region = df_region.index.tolist()
count = df_region.values.tolist()
df_region
?