Question: Hi , I ' m currently working with a data set where I need to Identify the target variable ( income ) and separate it

Hi, I'm currently working with a data set where I need to "Identify the target variable (income) and separate it from the features.". I continue to receive 2 different errors depending on the code I attempt. Either it is unable to find the "Income on the axis", or "Nonetype object is nonsubscriptable" If could could assist me with any tips on how to alter my code to get it to recognize "Income", that would be great. Attached is the data set that im working with. This program is in Python. Thanks again.
File Edit View Insert Runtime Tools Help All changes saved
Hi , I ' m currently working with a data set

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!