Problems on Data Cleaning and Processing For Machine Learning

2 / 12

Drop rows from dataset

  1. Load the following dataset to a pandas dataframe:


  2. From the above data, Drop all the rows whose Ticker Symbol is not one of the following:

    'PNC', 'AEP', 'PFG', 'BXP', 'PNW','KR', 'MMC', 'DIS', 'QCOM'
  3. Store this data frame as a new variable name new_df

  1. There are no partial marks for the question.
  2. To execute a block on the right side coding panel, please press 'shift'+ 'enter'
See Answer

No hints are availble for this assesment

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...