Write a statement to display 12.5 as output using positional indexing. import pandas as pd S1=pd.Series([11, 12.5, None, 6], index=["J","F","M","A"])

Question:
Write a statement to display 12.5 as output using positional indexing.
import pandas as pd
S1=pd.Series([11, 12.5, None, 6], index=["J","F","M","A"])

1. print(S1[1])

2.print(S1[“J”])

3.print(S1[0])

4.print(S1[“F”])

Posted Date:-2021-12-13 14:31:47


More MCQS Questions and answers

Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!