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....

ความคิดเห็น • 38

  • @Adesola_Analyst
    @Adesola_Analyst 2 หลายเดือนก่อน

    You have really help me today. I have been stocked since morning. Thank you so much

  • @ishan7491
    @ishan7491 4 ปีที่แล้ว +6

    what about when you have 5 types of string values?

  • @vedavyasa1900
    @vedavyasa1900 2 ปีที่แล้ว +1

    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?

  • @engineer8837
    @engineer8837 3 ปีที่แล้ว

    Thank you so much Abhishek. I couldnt find something for whole one day

  • @muhammadabdurrazaq2069
    @muhammadabdurrazaq2069 ปีที่แล้ว +1

    Sir, in converting another column created, what about this? Another question is that, when we convert more than one column. please explain

  • @gayanath009
    @gayanath009 10 หลายเดือนก่อน

    Great Video, this is very useful. Thank you Sir 🤗

  • @rohitthorat888
    @rohitthorat888 4 ปีที่แล้ว +2

    what if there is more than one categorical data ???

  • @pranjiljain4500
    @pranjiljain4500 ปีที่แล้ว

    you are great, saved so much time

  • @techplanet8665
    @techplanet8665 ปีที่แล้ว

    Great insights here thank you. Please I need a video on t-test and ANOVA in python

  • @Nehagupta-rl1ve
    @Nehagupta-rl1ve 4 ปีที่แล้ว +1

    Can you make video on how to work with satellite data in python?

  • @beautyisinmind2163
    @beautyisinmind2163 3 ปีที่แล้ว +1

    how can i assign number to target variable manually like setosa = 1, virginaca = 2 in this manner?

    • @JiminPark-ld2xx
      @JiminPark-ld2xx 2 ปีที่แล้ว

      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.

    • @stevemungai3542
      @stevemungai3542 2 ปีที่แล้ว +1

      @@JiminPark-ld2xx I have the same problem can you then drop the original column

    • @JiminPark-ld2xx
      @JiminPark-ld2xx 2 ปีที่แล้ว

      @@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.

  • @be_real4917
    @be_real4917 3 ปีที่แล้ว

    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

  • @EmmAnalytics
    @EmmAnalytics 3 ปีที่แล้ว

    I hope you live forever , Thank you

  • @aswanigumpena8356
    @aswanigumpena8356 3 ปีที่แล้ว

    Labeling also we can use to change the type

  • @AshokKumar-ud9ed
    @AshokKumar-ud9ed ปีที่แล้ว

    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

  • @patrikpotocny9416
    @patrikpotocny9416 3 ปีที่แล้ว

    Amazing vid this helped to solve my issue.

  • @sushantkarki2708
    @sushantkarki2708 3 ปีที่แล้ว

    what if i want to add new values and have them converted into unique numeric values without changing the values of previous strings?

  • @franciscotriano8344
    @franciscotriano8344 3 ปีที่แล้ว

    what happen if you have multiples species, for many categorices

  • @sriharivaila7276
    @sriharivaila7276 2 ปีที่แล้ว

    Was helpful thanks .

  • @charizard_baller69
    @charizard_baller69 4 ปีที่แล้ว

    amazing, just what I needed!

  • @michealmadu9128
    @michealmadu9128 ปีที่แล้ว

    Can we convert a categorical data into numericql data so as to get it correlation with an existing numerical data

    • @AbhishekAgarrwal
      @AbhishekAgarrwal  ปีที่แล้ว

      you can by create dummy variables out of those categorical variables. Read or search about how to create dummy variables in python pandas

  • @graceolupinyo4036
    @graceolupinyo4036 2 ปีที่แล้ว

    Thank you for this!

  • @panktishah3510
    @panktishah3510 3 ปีที่แล้ว

    Very useful 👍🏻 thanks

  • @mikereeves282
    @mikereeves282 3 ปีที่แล้ว

    Is this the same as "Binning"?

  • @nurudeennajeem6605
    @nurudeennajeem6605 ปีที่แล้ว

    Thanks a lot

  • @vinodk1691
    @vinodk1691 4 ปีที่แล้ว

    unable to convert my df value price (object) to int or float - pls do video

  • @ajinkyakotwal1895
    @ajinkyakotwal1895 2 ปีที่แล้ว

    Nice Explanation

  • @aizuddinrafee571
    @aizuddinrafee571 4 ปีที่แล้ว

    what is the meaning of this error? "During handling of the above exception, another exception occurred:"

    • @lellobidello2301
      @lellobidello2301 4 ปีที่แล้ว

      che sei nella merda uagliò

    • @saronnnn22
      @saronnnn22 4 ปีที่แล้ว +1

      The meaning of the error is literally in the error

  • @MANOJKUMAR-cc8pu
    @MANOJKUMAR-cc8pu 2 ปีที่แล้ว

    Nice video 🙏

  • @max6447
    @max6447 4 ปีที่แล้ว

    Excellent

  • @frandikafrandika8760
    @frandikafrandika8760 4 ปีที่แล้ว

    thanks :D