Generation

generate functionMon, 27 Mar 2023

Write code that converts this Series object to an array object. data1 = df['Critic_Score'] The result should output data1 in the following format: array([43.48164727, 53.46433221, 45.08411794, 61.7768157 , 37.78951321, 48.271562 , 42.16219046, 46.88876532, 50.92428925, 43.03283088...])

data1 = df['Critic_Score'] data1.to_numpy()

Questions about programming?Chat with your personal AI assistant