What is the shape of d defined in below code? import pandas as pd s1 = pd.Series([0, 1, 2, 3]) s2 = pd.Series([0, 1, 2, 3]) s3 = pd.Series([0, 1, 4, 5]) d = pd.concat([s1, s2, s3], axis=1)

Questions & AnswersCategory: Programming LanguageWhat is the shape of d defined in below code? import pandas as pd s1 = pd.Series([0, 1, 2, 3]) s2 = pd.Series([0, 1, 2, 3]) s3 = pd.Series([0, 1, 4, 5]) d = pd.concat([s1, s2, s3], axis=1)
Adam asked 2 years ago

What is the shape of d defined in below code?

import pandas as pd
s1 = pd.Series([0, 1, 2, 3])
s2 = pd.Series([0, 1, 2, 3])
s3 = pd.Series([0, 1, 4, 5])
d = pd.concat([s1, s2, s3], axis=1)

a. (4,4)
b. (4,3)
c. (3,4)
d. (3,3)