graph - How do i import CSV on python using variables? -


i have csv file needing put variables?

how did import csv? example below uses pandas , should job

import pandas pd import matplotlib.pyplot plt  data = pd.read_csv( 'yourfile.csv' )  # plot plt.plot( data.col1, data.col2, 'bo' )  # amend name col1/col2 need plt.show() 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -