Q11. In DataFrame axis 0 represents ________________
Q12. In DataFrame axis 1 represents ________________
Q13. How many rows will be displayed by the following code:
import pandas as pd
D = {"a":(1, 2,3),"b":(4,5,6),"c":(7,8,9),"d":(11,12,13)}
D1= pd.DataFrame(D)
print(D1.loc[0:1,'b':'d'])
Q14. How many columns will be displayed by the following code:
import pandas as pd
D = {"a":(1, 2,3),"b":(4,5,6),"c":(7,8,9),"d":(11,12,13)}
D1= pd.DataFrame(D)
print(D1.loc[0:1,'b':'d'])
Q15. How many rows will be displayed by the following code:
import pandas as pd
D = {"a":(1, 2,3),"b":(4,5,6),"c":(7,8,9),"d":(11,12,13)}
D1= pd.DataFrame(D)
print(D1.iloc[0:1,1:3])
Q16. How many columns will be displayed by the following code:
import pandas as pd
D = {"a":(1, 2,3),"b":(4,5,6),"c":(7,8,9),"d":(11,12,13)}
D1= pd.DataFrame(D)
print(D1.iloc[0:1,1:3])
Q17. The following statement will change _____________________
Q18. The following statement will __________________
Q19. Which of the following statement will create Series from Scalar value?
Q20. Aman can use _____________ to iterate over horizontal subsets of DataFrame.