datafest competition 2019
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
280 B

  1. from matplotlib import pyplot as plt
  2. import pandas as pd
  3. def plot_xy(x, y):
  4. plt.scatter(x, y)
  5. plt.xlabel(x.name)
  6. plt.ylabel(y.name)
  7. plt.show()
  8. wellness = pd.read_csv('../data_preparation/data/wellness.csv')
  9. plot_xy(wellness['Fatigue'], wellness['SleepHours'])