Skip to content

Instantly share code, notes, and snippets.

@antondevv
Created September 22, 2021 11:12
Show Gist options
  • Save antondevv/1187df57b8d7c0aa8ef3f53b44b25444 to your computer and use it in GitHub Desktop.
Save antondevv/1187df57b8d7c0aa8ef3f53b44b25444 to your computer and use it in GitHub Desktop.
first part
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np
#Print our data
data = pd.read_csv('data.csv')
print(data)
plt.scatter(data['weight'], data['height'])
plt.xlabel("Weight")
plt.ylabel("Height")
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment