dataframe series data to python array code example Example: get array from series pandas >>> a = pd.Series([1, 2, 3]) >>> a.values array([1, 2, 3])