How does style=[‘o’,‘rx’] get the column. Like how is it accessing them with these conditions?
Doubt in Question 7
Hey @amoghjalan2005, this is possible because we have stored both the columns in a dataframe called df. So when you do df.plot(style=['o', 'rx'])
, it automatically plots column 1 with style ‘o’ and column 2 with style ‘x’ in red colour. The output is something like this :
I hope this helps you understand !
Happy Learning !