Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

To visualize the correlation between any two columns | scatter plot graph

#DataFrame.plot.scatter() method

df.plot.scatter(x='col1', y='col2',label = 'label')
plt.legend()
plt.show()
Source by app.dataquest.io #
 
PREVIOUS NEXT
Tagged: #To #visualize #correlation #columns #scatter #plot #graph
ADD COMMENT
Topic
Name
5+9 =