## Convert Pandas Series to a NumPy Array

In this tutorial, we will look at how to convert a pandas series to a NumPy array. How to convert a pandas series to an array? There are a number of ways to get an array from a pandas series. You can directly get a numpy array of series values by accessing the .values attribute of the …