Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas fileurl = 'https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data' names = ['sepal_length','sepal_width','petal_length','petal_width','class'] data = pandas.read_csv(fileurl, names=names) types = data.dtypes print(types)
sepal_length
float64
sepal_width
float64
petal_length
float64
petal_width
float64
class
object
dtype:
object