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
Post a Comment