Write the output of the given statement on the basis of given Pandas series; 's'.

\(\begin{array}{ll} \mathrm{a} & 2 \\ \mathrm{b} & 4 \\ \mathrm{c} & 6 \\ \mathrm{d} & 8 \\ \mathrm{e} & 10 \\ \mathrm{f} & 12 \end{array}\)

print(s[:3])

1
\(\begin{array}{ll} \mathrm{a} & 2 \\ \mathrm{b} & 4 \end{array}\)
2
\(\begin{array}{ll} \mathrm{a} & 2 \\ \mathrm{b} & 4 \\ \mathrm{c} & 6 \\ \text {d} & 8 \end{array}\)
3
\(\begin{array}{ll} \mathrm{a} & 2 \\ \mathrm{b} & 4 \\ \mathrm{c} & 6 \end{array}\)
4
\(\begin{array}{ll} \text {d} & 8 \\ \text {e} & 10 \\ \text {f} & 12 \end{array}\)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation