4.1. Series About
4.1.1. SetUp
>>> import pandas as pd
4.1.2. Info
Series.info(memory_usage='deep')
>>> s = pd.Series(['a', 'b', 'c', 'd'])
>>> s.info()
<class 'pandas.core.series.Series'>
RangeIndex: 4 entries, 0 to 3
Series name: None
Non-Null Count Dtype
-------------- -----
4 non-null object
dtypes: object(1)
memory usage: 164.0+ bytes
>>> s.info(memory_usage='deep')
<class 'pandas.core.series.Series'>
RangeIndex: 4 entries, 0 to 3
Series name: None
Non-Null Count Dtype
-------------- -----
4 non-null object
dtypes: object(1)
memory usage: 332.0 bytes
4.1.3. Describe
Series.describe()
>>> s = pd.Series(['a', 'b', 'c', 'd'])
>>> s.describe()
count 4
unique 4
top a
freq 1
dtype: object