Search Header Logo

Pandas series

Authored by Harini P20CS004

Computers

University

Used 4+ times

Pandas series
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to create a pandas series from a python list?

Pd.createSeries(mylist)

Pd.Series(mylist)

Pd.getSeries(mylist)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to add the labels "x","y","z" to a pandas series?

pd.Series(mylist,names =["x","y","z"])

pd.Series(mylist, lables =["x","y","z"])

pd.Series(mylist, index =["x","y","z"])

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Minimum number of argument we require to pass in pandas series ?

0

1

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Series in pandas is

1 dimensional array

2 dimensional array

3 dimensional array

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can analyze the data in pandas with:

Series

DataFrame

Both of the above

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For what purpose a pandas is used ?

To create a GUI programming

To create a database

To create a High level array

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be output for the following code?


import pandas as pd

s = pd.Series([1,2,3,4,5],index = ['a','b','c','d','e'])

print s['a']

1

2

3

4

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?