how to slice series dataframe in python code example Example: get column pandas column = df["column_name"]