>>> import pandas as pd
>>>
>>> a = pd.Series({'a':[1,1,1],'b':[2,2,2],'c':[3,3,3]})
>>> b = pd.DataFrame({'a':[1,1,1],'b':[3,3,3],'c':[3,3,3]})
>>> c = pd.DataFrame({'a':(1,1,1),'b':(3,3,3),'c':(3,3,3)})
>>>
>>> print(type(a))
<class 'pandas.core.series.Series'>
>>> print(type(b))
<class 'pandas.core.frame.DataFrame'>
>>> print(type(c))
<class 'pandas.core.frame.DataFrame'>
>>>
>>> print(a)
a [1, 1, 1]
b [2, 2, 2]
c [3, 3, 3]
dtype: object
>>> print(b)
a b c
0 1 3 3
1 1 3 3
2 1 3 3
>>> print(c)
a b c
0 1 3 3
1 1 3 3
2 1 3 3
>>>
>>> print(b.index)
RangeIndex(start=0, stop=3, step=1)
>>> print(b.columns)
Index(['a', 'b', 'c'], dtype='object')
>>> print(c.index)
RangeIndex(start=0, stop=3, step=1)
>>> print(c.columns)
Index(['a', 'b', 'c'], dtype='object')
>>>
>>> b.index = ['i1', 'i2', 'i3']
>>> b.columns = ['c1', 'c2', 'c3']
>>>
>>> print(b)
c1 c2 c3
i1 1 3 3
i2 1 3 3
i3 1 3 3
>>>
>>> print(b['c2'])
i1 3
i2 3
i3 3
Name: c2, dtype: int64
>>>
>>> print(b.iloc[0])
c1 1
c2 3
c3 3
Name: i1, dtype: int64
>>>
>>> print(b.loc['i2'])
c1 1
c2 3
c3 3
Name: i2, dtype: int64
>>>