Aayushi_6's Recent Activity

  1. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Reeta, Please make sure that you perform label encoding/ one hot encoding before standardization. Because the calculation is numeric. Here, African is still showing in the error message, which...

    Jul 10, 2020 at 11:19 AM
  2. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Amit, You already put store in cell 37. I couldn't understand your question. Please elaborate.

    Jul 10, 2020 at 11:17 AM
  3. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Reeta, First method (cross_validation) should not be used as this is deprecated (if you see the warning message below). Second method (model_selection) is recommended always. Hope it helps!

    Jul 10, 2020 at 3:35 AM
  4. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Jitendra, You need to put forward slash while giving the path of the file. (Here it is backward). Else, you can also put the dataset at the same location of Jupiter notebook and directly read by...

    Jul 9, 2020 at 11:13 AM
  5. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Ashish, I completely agree. In that case, we use Regular Expressions in Python. Explore it. You will like it for sure. And other could be some string functions like, str.startwith()...

    Jul 9, 2020 at 1:25 AM
  6. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Satyajit, Please explore numpy.where() function, it will help.

    Jul 8, 2020 at 9:17 AM
  7. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Pritam, to convert the Outlet_Establishment_Year into age df["age"] = 2020 - df["Outlet_Establishment_Year"] and Item_Fat_Content cleaning can be done in two ways: 1. pandas data frame replace...

    Jul 8, 2020 at 8:50 AM
  8. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Ashish, Please try with "hue" argument of barplot to plot both columns in the same graph. Hope it helps!

    Jul 8, 2020 at 8:47 AM
  9. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Ashish, You can handle this in the following ways: 1. pandas data frame replace function df['column_name']= df['column_name'].replace(['ABC','AB'],'A') where ['ABC','AB'] - list of values to be...

    Jul 8, 2020 at 8:44 AM
  10. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi, You need to install sklearn using pip install sklearn. Also, make sure it is installed at the correct location of site packages, where other libraries are installed. Hope it helps!

    Jul 8, 2020 at 5:23 AM
  11. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi, It means we are applying one hot encoder to the first column i.e. [0] only which is Ethnicity in case of health data. Basically we are specifying in which column we are applying the categorical...

    Jul 8, 2020 at 5:21 AM
  12. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi, :-1 represents - ignoring the last column (meaning all columns except last one because the last one is the target variable which we want to be in Y) Hope it helps!

    Jul 8, 2020 at 5:12 AM
  13. Aayushi_6 replied to the thread Data Science with Python | Ayushi | June 20 - July 25 (2020).

    Hi Gokul, A low standard deviation indicates that the data points tend to be very close to the mean; a high standard deviation indicates that the data points are spread out over a large range of...

    Jul 5, 2020 at 4:05 AM