I have the following data frame just single column.
import pandas as pd tdf = pd.DataFrame({'s1' : [0,1,23.4,10,23]}) Currently it has the following shape.
In [54]: tdf.shape Out[54]: (5, 1) How can I convert it to a Series or a numpy vector so that the shape is simply (5,)