'iris data into a dictionary where the flower names are the Keys and all rows belonging to a flower are the Values

import from pandas, i need to print down below out put all i can come up is an array.

any help would be appreciated[enter image description here][1] it

import numpy as np

import pandas as pd

data = pd.read_csv('/Users/harryhou/Desktop/Ryerson/CIND 830/assignment3/iris-write-from-docker.csv')

data.head()

print(data)

data = np.array(data)

data



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source