Home > other >  Urgent urgent, visualization Python3 full of type int, don't know which of the following values
Urgent urgent, visualization Python3 full of type int, don't know which of the following values

Time:09-19

 def job_city_geo (df) : 
Job_place=df [' work '] value_counts () [0:40]
Job_indexs=[x for I, x in enumerate (job_place. Index)]
Counts=[job_place [I] for I in job_indexs]
# list_city=[]
# for I, x in enumerate (ser) index) :
# tuple_city=(x, ser [I])
# list_city. Append (tuple_city)
# list_city=list_city [0:40]
Geo=geo (python "position in the national distribution (40 cities) before the geographical coordinate system diagram", title_color="# FFF,"
Title_pos="center" width=1200,
Height=600, background_color='# 404 a59)
# attr, value=https://bbs.csdn.net/topics/geo.cast (list_city)
Geo. Add (" ", attr=job_indexs value=https://bbs.csdn.net/topics/counts, visual_range=[0, 1400], visual_text_color="# FFF,"
Symbol_size=12, is_visualmap=True, is_roam=False)
Geo. Render (' python position in the national distribution (40 cities) before the geographical coordinate system diagram. HTML ')
If __name__=="__main__ ':
Job_city_geo (data)


  • Related