Q.7 Can you stack two series horizontally? If so, how?

Yes, we can stack the two series horizontally using concat() function and setting axis = 1.

df = pd.concat([s1, s2], axis=1)


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *