pandas accessing series code example Example: indexing column in pandas In [10]: type(titanic[["Age", "Sex"]]) Out[10]: pandas.core.frame.DataFrame