Professional Documents
Culture Documents
Scatter Plot Pandas in Python
Scatter Plot Pandas in Python
A data visualization method that displays the relationship between two numerical variables is
called a scatter plot. In Python, there is a class named DataFrame that can be used to plot to
scatter plots using pandas, and this class's member is called plot. By using the scatter()
function on the plot component, a pandas DataFrame plot is drawn between two variables or
two columns.
Syntax
Here, the syntax shows how to write code for the scatter() method:
The following are the syntax parameters for the scatter() method: