Skip to content

Instantly share code, notes, and snippets.

@alpenmilch411
Created December 26, 2018 14:37
Show Gist options
  • Save alpenmilch411/9817d19e0fb4e0b25f117d3def4bb659 to your computer and use it in GitHub Desktop.
Save alpenmilch411/9817d19e0fb4e0b25f117d3def4bb659 to your computer and use it in GitHub Desktop.
#Compute mean with & without greece
fig1_tbl_all = cds_data.groupby('Sovereign')['Spread']
plt.figure(figsize=[20, 5])
fig1_tbl_all.plot()
plt.grid(True)
plt.xlabel('Date')
plt.ylabel('CDS spread (bps)')
plt.title("Fig. 1. - EU market CDS spreads")
plt.legend()
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment