Q. Consider the dataframes of question :-

 

Q. Consider following dataframes, namely Sprices1 and Sprices2 storing prices closing 1 year apart.


            Sprices1
    closingPrice
05-01    531.35
05-02    527.93
05-03    NaN
05-04    NaN
05-05    527.81
05-06    515.14
05-07    509.96


        Sprices2
    closingPrice
05-01    631.35
05-02    427.93
05-03    805
05-04    NaN
05-05    267.81
05-06    455.14
05-07    NaN

 

And figure out why the following statement is producing an error?


Sprices2.join(Sprices1)


Answer =

Because columns overlap but no suffix specified.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post