MACHINE LEARNING

APPLICATION OF SUPERVISED LEARNING

MACHINE LEARNINGHARD QUESTIONS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How will you show the relationship between the columns?
A
import pandas as pddf = pd.read ____ csv(’data.csv’)print(df.corr())
B
import pandas as pdprint(df.correlation())
C
import pandas as pddf = pd.read ____ csv(’data.csv’)print(df.corre())
D
all of these
Explanation: 

Detailed explanation-1: -The corr() method calculates the relationship between each column in your data set.

Detailed explanation-2: -Step 1: Create a Sample CSVs file. The first step is to create sample CSV files for the method. Step 2: Read the CSV files. The second step is to read the created CSV files. Step 3: Implement the method to compare two CSV files in python using pandas.

There is 1 question to complete.