MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/pythonhelp/comments/jm981k/cvs_file_and_scatter_plot/
r/pythonhelp • u/420cowb1tch69 • Nov 01 '20
how would i be able to scatter plot the cvs file , i already tried df and pd can somone help me pls
6 comments sorted by
1
WTF? Did you have a question?
1 u/420cowb1tch69 Nov 01 '20 lol what 1 u/socal_nerdtastic Nov 01 '20 Random screenshots of code? Why did you post that? 1 u/420cowb1tch69 Nov 01 '20 i accidentally put the question below and not as the title 1 u/420cowb1tch69 Nov 01 '20 yes lol i was wondering how to scatter plot the month and principal balance using thw cvs file as reference 2 u/socal_nerdtastic Nov 01 '20 Using matplotlib?from matplotlib import pyplot as plt months = [row[0] for row in list1] # guessing balance = [row[1] for row in list1] plt.scatter(months, balance) plt.show()
lol what
1 u/socal_nerdtastic Nov 01 '20 Random screenshots of code? Why did you post that? 1 u/420cowb1tch69 Nov 01 '20 i accidentally put the question below and not as the title
Random screenshots of code? Why did you post that?
1 u/420cowb1tch69 Nov 01 '20 i accidentally put the question below and not as the title
i accidentally put the question below and not as the title
yes lol i was wondering how to scatter plot the month and principal balance using thw cvs file as reference
2 u/socal_nerdtastic Nov 01 '20 Using matplotlib?from matplotlib import pyplot as plt months = [row[0] for row in list1] # guessing balance = [row[1] for row in list1] plt.scatter(months, balance) plt.show()
2
Using matplotlib?
from matplotlib import pyplot as plt months = [row[0] for row in list1] # guessing balance = [row[1] for row in list1] plt.scatter(months, balance) plt.show()
1
u/socal_nerdtastic Nov 01 '20
WTF? Did you have a question?