Created
November 27, 2018 14:48
-
-
Save joseph-allen/e68e0417f711b4a50061200f2adeb146 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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