Answers for "'DataFrame' object has no attribute 'as_matrix'"

0

'DataFrame' object has no attribute 'as_matrix'

#As of Pandas 1.0 use .to_numpy() other ways are deprecated
df = pd.read_excel('[Path to Xlsx]',sheet_name='[name of xl sheet]')
df.to_numpy()
Posted by: Guest on August-23-2021

Code answers related to "'DataFrame' object has no attribute 'as_matrix'"

Python Answers by Framework

Browse Popular Code Answers by Language