SERIES
VIVA QUESTIONS
1. What is Pandas?
Pandas is a software library for the Python programming language written by Wes
McKinney for data manipulation and analysis. The name Pandas is derived from the
term “Panel Data”. It is an open source and free to use.
2. Compare Series, DataFrames and Panel?
Data Dimensions Description
Structure
Series 1 1D labeled homogeneous, data-
mutable, size-immutable array.
Data 2 2D labeled heterogeneous, data-
Frames mutable, size-mutable array.
Panel 3 3D labeled, data-mutable, size-mutable
array.
3. What is a series?
• Series is a one-dimensional labeled array capable of holding homogenous
data of any type (integer, string, float etc.).
• The data labels in series are numeric starting from 0 by default. The data
labels are called as indexes.
• The data in series is mutable i.e. it can be changed but the size of series is
immutable i.e. size of the series cannot be changed.
4. Name the parameter which is used to give name to the series?
name parameter in Series method
5. How can we create customized index values in series?
We can create customized index values using index parameter in Series method.
6. What happens when dictionary is used to create a series?
Dictionary keys are used to construct indexes and dictionary values are used to
make elements of a series.
1