How to convert categorical data to numerical data in python | Python Basics Tutorial
ฝัง
- เผยแพร่เมื่อ 5 ต.ค. 2024
- How to convert categorical data to numerical data in python | Python Basics Tutorial | Computer science with python CBSE Class XI and XII
Dataset link - groups.google....
You have really help me today. I have been stocked since morning. Thank you so much
You are so welcome!
what about when you have 5 types of string values?
Thanks for the video sir. When more than 4 or five columns need to be converted to categorical values, how to do this.? I watch your tableau videos and learn many things. In Tablueau, how to take how to take user input and provide output just like in other softwares?
Thank you so much Abhishek. I couldnt find something for whole one day
Sir, in converting another column created, what about this? Another question is that, when we convert more than one column. please explain
Great Video, this is very useful. Thank you Sir 🤗
what if there is more than one categorical data ???
you are great, saved so much time
Great insights here thank you. Please I need a video on t-test and ANOVA in python
Can you make video on how to work with satellite data in python?
how can i assign number to target variable manually like setosa = 1, virginaca = 2 in this manner?
I hv the same issue but everyone on the internet is using this Iris dataset and don't explain what to do with text data.
@@JiminPark-ld2xx I have the same problem can you then drop the original column
@@stevemungai3542 You have to use TF-IDF method and turn your text data into numeric. Then you can split dataset and create the model. If you put your email. I'll send you the code I developed for my text data.
Sir how to shuffle the dataset
Like all the last column values are same for some instances but I want to shuffle that and then apply the same concept
Can u plz prepare a video for that
I hope you live forever , Thank you
Labeling also we can use to change the type
here is my mistake i want to train a model and want to change variable in categorical value help me to figure out this problm here is problem ...............cannot concatenate object of type ''; only Series and DataFrame objs are valid
Amazing vid this helped to solve my issue.
what if i want to add new values and have them converted into unique numeric values without changing the values of previous strings?
what happen if you have multiples species, for many categorices
Was helpful thanks .
amazing, just what I needed!
Can we convert a categorical data into numericql data so as to get it correlation with an existing numerical data
you can by create dummy variables out of those categorical variables. Read or search about how to create dummy variables in python pandas
Thank you for this!
Very useful 👍🏻 thanks
Is this the same as "Binning"?
Thanks a lot
unable to convert my df value price (object) to int or float - pls do video
Nice Explanation
what is the meaning of this error? "During handling of the above exception, another exception occurred:"
che sei nella merda uagliò
The meaning of the error is literally in the error
Nice video 🙏
Excellent
thanks :D