title: Creating a Line graph from data within an excel spreadsheet
body: <p>I have data from an excel spreadsheet concerning the UK economy but how do i make a line graph from said information? This is what i have so far:</p>
  <pre><code>import numpy as np
  import matplotlib.pyplot as plt
  import pandas as pd
  from sklearn.decomposition import PCA
  
  
  df = (pd.read_excel('Uk_data.xlsx').dropna())
  dataset = df.to_dict()
  
  
  print(df[0:])
  
  
  
  plt.figure(figsize=(9,9))
  plt.style.use('seaborn')
  
  plt.title(&quot;UK GDP Since 2017&quot;)
  plt.show()
  
  
  
  print(df.head())
  </code></pre>