tolist if as values code example Example 1: pandas to list df.values.tolist() Example 2: pandas series to list lst = data.tolist() # data is pandas series