Subash Chandran posted: "pd.cut(df.Age,bins=[0,2,17,65,99],labels=['Toddler/Baby','Child','Adult','Elderly']) # where bins is cut off points of bins for the continuous data # and key things here is that no. of labels is always less than 1"
|

Subash Chandran posted: "pd.cut(df.Age,bins=[0,2,17,65,99],labels=['Toddler/Baby','Child','Adult','Elderly']) # where bins is cut off points of bins for the continuous data # and key things here is that no. of labels is always less than 1"
|
Write a newfangled code fragment at an earlier stage to use it. Then call another method and make sure their input is the correct one. The s...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.