Creating bins of years in python pandas such that it shows all the available data against that bin in the next cell. e.g 1920-1940

后端 未结 0 711
忘了有多久
忘了有多久 2021-01-25 00:38
import pandas as pd
import csv
df=pd.read_csv(\'/content/admissions.csv\')
db=df.replace(\'---\',\'0\')
data=pd.DataFrame(db)
data.columns
data[\'Total\'] = data[\'Total         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题