Convert pandas series into numpy array [duplicate] July 7, 2023 by Tarik To get numpy array, you need Y.values