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