Question: line 18 (python Code 3D + Run Ic print(wine_df.head() # gives us the first 5 rows Wine DataFrame Head alcohol malic acid ash alcalinity_of_ash magnesium
Code 3D + Run Ic print(wine_df.head() # gives us the first 5 rows Wine DataFrame Head alcohol malic acid ash alcalinity_of_ash magnesium total_phenols 14.23 1.71 2.43 15.6 127.0 2.80 1 13.20 1.78 2.14 11.2 100.0 2.65 2 13.16 2.36 2.67 18.6 101. 2.80 3 14.37 1.95 2.50 16.8 113.0 3.85 4 13.24 2.59 2.87 21.0 118.0 2.80 WN flavanoids nonflavanoid_phenols proanthocyanins color_intensity hue 1 3.06 0.28 2.29 5.64 1.04 1 2.76 0.26 1.28 4.38 1.05 2 3.24 0.30 2.81 5.68 1.03 3 3.49 0.24 2.18 7.80 0.86 4 2.69 0.39 1.82 4.32 1.04 od280/od315_of_diluted_wines proline e 3.92 1865.0 1 3.40 1050.0 2 3.17 1185.0 3 3.45 1480.0 4 2.93 735.0 In (18) M # your turn to convert the fris data and feature_names into a dataframe # tris_df - In (19) show wine df info wine_df.info)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
