Using python in a jupyter notebook allows you to write text and code together.
In [1]:
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
%matplotlib inline
In [2]:
df = pd.read_csv('datasets/iris.csv',index_col=4,header=None,names=['SepalLength', 'SepalWidth', 'PetalLength','PetalWidth'],sep=',')
df.head()
Out[2]:
In [3]:
df.tail()
Out[3]:
In [ ]:
In [3]:
plt.scatter(df['SepalLength'],df['SepalWidth'],df['PetalLength'])
Out[3]:
In [25]:
In [ ]: