Scatter Plot is giving only one dot while plotting

I am trying to plot a scatter plot between two numerical variables, but I’m getting a plot with only one dot.

Can somebody help me understand how to do this?


It should work with plt.scatter() if you have matplotlib.pyplot imported

but you could also try pandas scatter plot as well… try df.plot.scatter(hours, scores)

Thank you! It got solved

I have been trying to get a map with cases per month of covid dataset in tableau.
My queries are:

  1. Which date function to be used to extract month from ‘dd-mm-yy’ format?
  2. How to get new death measures as dots on the map