Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
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