i just want to plot an very easy histogram in python, but it doesnt workt.
I am importing the data from excel via and converting it into a pd dataframe
data = pd.read_excel ("test.xlsx",sheet_name='new_tests', na_filter=True)
data_1= pd.DataFrame(data , columns=['x','y'])
x is a list of the form 1,2,3,....,100 and y are corresponding events of my modle for example 107, 208,.... and also of course 100 entries.
Now I want to plot a simple histogram with for example 10 bins - that means in the first bin are the summed events from [1,2,....,10]=[107,208,...] but
plt.hist(x,y,bins=20) doesnt work, since the plot is empty.