Profile picture

Co-founder @ RMOTR

Planes Telecentro

Last updated: February 18th, 20202020-02-18Project preview
In [8]:
import pandas as pd
import seaborn as sns

import matplotlib.pyplot as plt
In [5]:
sns.set(color_codes=True)
In [2]:
df = pd.DataFrame({
    'Download': [25, 50, 100, 200, 300, 1000],
    'Upload': [3,4,5,10,15,30],
})
In [3]:
df
Out[3]:
Download Upload
0 25 3
1 50 4
2 100 5
3 200 10
4 300 15
5 1000 30
In [9]:
fig, ax = plt.subplots(figsize=(14, 7))
sns.regplot(x="Download", y="Upload", data=df, ax=ax)
Out[9]:
<matplotlib.axes._subplots.AxesSubplot at 0x7f7e35608c90>
Notebooks AI
Notebooks AI Profile20060