title: Using Excel columns in Python and defining which is x and y
body: <p>I have imported a file from Excel into Python. I am using pandas and matplotlib. The Excel spreadsheet contains two columns, one for discharge and one for frequency. I would like to make a histogram of the data and put the discharge on the x-axis and frequency on the y-axis.</p>