Font size
WorksheetsSeries
Total questions: 10
Worksheet time: 5mins
pandas is a:
Data Structure
Series
Dataframe
Library
Write the output for the following:
import pandas as pd1
s = pd1.Series(5, index=[0, 1, 2, 3])
print(s)
0 5
0 5
1 5
2 5
3 5
dtype: int64
1 5
2 5
2 5
4 5
dtype: int64
0 5
1 5
2 5
3 5
dtype: object
Which is true for series.
Size is mutable,Values is mutable
size is immutable,values is mutable
size is mutable,values is immutable.
none
Series in Pandas is
1 Dimensional Array
2 Dimensional array
3 Dimensional array
none of above
Best way to import the pandas module in your program ?
1.import pandas as p
2.import pandas as pd
3.import pandas as d
4.All of the above
Series.head() will return how many rows.
2
3
4
5
Series.tail(3) will return how many values.
3 values from front
3 values from last
5 values
none
Which of the following commands is used to install Pandas?
pip install python-pandas
pip install pandas
python install python
python install pandas
Full form of NaN is
Not a Null
Not a Number
Not a Numeric
None of these
Minimum number of argument we require to pass in pandas non empty series ?
0
1
2
3
