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