Home > AI > Uncategorized

add a new column

Code:

new_df = pd.DataFrame()
new_df['total'] = df.isup_grade.value_counts()

Effect:

total
02892
12666
21343
41249
31242
51224
Related posts:

Leave a Reply