Python element types of the columns in dataFrame

df1 [ 'year'] in the year there are many, which needs to obtain the field next year. 

a=list(set(df1['year']))

 

Published 35 original articles · won praise 26 · views 80000 +

Guess you like

Origin blog.csdn.net/weixin_42342968/article/details/105291983