Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import plotly as py
py.tools.set_credentials_file(username='YOURE_USERNAME', api_key='YOUR API KEY')
import cufflinks as cf
import pandas as pd
df = pd.read_csv('data.csv')
py.plotly.iplot([{
'x': df.var0,
'y': df[col],
'name': col
} for col in [
'var1','var2]])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.