Using Python3 how can I split a df with a column of one set of ranges into a df with multiple subranges?

前端 未结 0 1430
悲哀的现实
悲哀的现实 2020-12-12 22:20

So I have the following:

#this is the data we have
df = pd.DataFrame(data=([\'A\',\'1-50\', 10],[\'B\',\'25-200\', 15],[\'C\',\'25-300\', 5]), columns=[\'Cate         


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