I am using Jupyter notebook and have the following piece of code
def dataframe_to_arrays(dataframe): # Make a copy of the original dataframe dataframe1 = data