Hi Aditya! Thanks for the video. May I know, for retbins, is there any conditions in order for we to use it? because when i tried to use retbins in my dataset, it shows error saying ValueError: Length of values (2) does not match length of index (891). But when I set to False, my code work perfectly. I am using Kaggle Titanic dataset and trying to bins the Age.
Hi Shakila, it might be an assigning issue, since cut returns a tuple if retbins is true. You might want to check this out stackoverflow.com/questions/61341762/pandas-pd-cut-valueerror-length-of-values-does-not-match-length-of-index
Very good and very informative
thanks sir big help
in a discritization whether we have to convert every continuous data to a discrete or a particular
Hi Aditya! Thanks for the video. May I know, for retbins, is there any conditions in order for we to use it? because when i tried to use retbins in my dataset, it shows error saying ValueError: Length of values (2) does not match length of index (891). But when I set to False, my code work perfectly.
I am using Kaggle Titanic dataset and trying to bins the Age.
Hi Shakila, it might be an assigning issue, since cut returns a tuple if retbins is true. You might want to check this out stackoverflow.com/questions/61341762/pandas-pd-cut-valueerror-length-of-values-does-not-match-length-of-index
😃thankyou sir
thank you
Good