I am trying to create a plot for a large data set of around 50,000 rows, where I am trying to plot a series for a single column of the data, but instead of using the unique row data values, it is using the index values ranging from 0 - 50,000 as x values. Is there any way I can somehow swap the x and y axis values?
The data being used is the PUMS household languages data
Here is a screenshot of the code and output of the plot in question: