Question: please fix this. i am trying to download the data i to the same directory as thos notebook. the data that i want to import
please fix this. i am trying to download the data i to the same directory as thos notebook.
the data that i want to import is called visuals.xlsx and i am not sure where to put this in the code to make it import correctly
import pandas as pd \# Load data df=pdreadxlsx( CHAPTER_6_VISUALS. xlsx ) \# Save dataframe in the same directory df.to_xlsx( 'CHAPTER_6_VISUALS. x lsx') AttributeError Traceback (most 1 last) / var/folders /9b/hv3m7zql ybchd 93 jmymhyf 40000gn/T/ ipykerne. 1344496.py in 2 3 \# Load data 4df=pd, read_xlsx ('CHAPTER_6_VISUALS. xlsx. ) 5 6 * Save dataframe in the same directory -/opt/anaconda 3/1ib/python 3.9/ site-packages/pandas/_init getattr (name) 242 return SparseArray 244 raise AttributeError ( f "module 'pandas' has no at 245
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
