0

Could anyone help with writing a python3 code to read data from iris dataset.

11th Oct 2019, 5:16 PM
Yamen Alshalabe
Yamen Alshalabe - avatar
3 odpowiedzi
0
Sorry for not being clear: def read_data (file_path): Iris_data = pd.read_csv ('iris.csv') From sklearn.datasets import load_iris Iris = load_iris () Type (iris) Print (iris.data)
11th Oct 2019, 7:21 PM
Yamen Alshalabe
Yamen Alshalabe - avatar
- 1
Help not write, share your code/attempt first
11th Oct 2019, 5:21 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
- 1
I didn't answer because first, you code is messed up, not even proper identation. Second, because I don't know how to and I'm too lazy to search on google too, so no need to downvote my first answer
11th Oct 2019, 10:17 PM
Aymane Boukrouh
Aymane Boukrouh - avatar