Python using pd.cut() and np.select( ) condition list based on 80 interval conditions

前端 未结 0 917
别那么骄傲
别那么骄傲 2021-01-04 05:56
import pandas as pd

data = pd.DataFrame {\'ratio\' : [0.25,0.20,0.45,0.10],
        \'range\': [\'1-25\',\'26-50\',\'51-75\',\'76-100\']}
degree = pd.DataFrame ({\'         


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