Please can anyone help me to complete the assignment 1 I have more questions

Identify the input columns (a list of column names)

input_cols = ???

  • how could I put the name of columns and how could I except the first and the last column

Identify the name of the target column (a single string, not a list)

target_col = ???
what column name must put here

sorry for more questions but I’m just now to learn this course

Python list slicing on list of columns attribute of the dataframe.

There’s only one predicted column. It’s mentioned in the “Identify Inputs and Targets” section.