WorksheetsPandas Series-1–Quiz
Total questions: 11
Worksheet time: 6mins
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.tail(3) will return how many values.
3 values from front
3 values from last
5 values
none
Series.head() will return how many rows.
2
3
4
5
we can analyze the data in pandas with :
Series
Dataframe
Both
none
Minimum number of argument we require to pass in pandas series ?
0
1
2
3
Full form of NaN is
Not a Null
Not a Number
Not a Numeric
None of these
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
Pandas is_________.
a Python library that is built on NumPy and provides easy-to-use data structures and data analysis tools for the Python programming language.
a Python 2D plotting library which produces publication-quality figures in a variety of hardcopy formats and interactive environments across platforms.
a Python library that implements a range of machine learning,
preprocessing, cross-validation and visualization algorithms using a unified interface.
Give the output of the following code:
>>>import pandas as pd
>>>dict1 = {'AR' : 100, 'VR' : 200, 'AI' : 300}
>>>ser = pd.Series(dict1)
>>>print(ser[1])
AR
100
VR
200
Which of the following commands is used to install Pandas?
pip install python-pandas
pip install pandas
python install python
python install pandas
Have you enjoyed the quiz on Pandas Series?
Yes
No
