Question: x = bdata [ [ Counter Sales,Drive - through Sales,Location ] ] Traceback ( most recent call last ) : Cell In [ 4
x bdataCounter Sales","Drivethrough Sales","Location"
Traceback most recent call last:
Cell In line
x bdataCounter Sales","Drivethrough Sales","Location"
File ~anacondaLibsitepackagespandascoreframepy: in getitem
indexer self.columns.getindexerstrictkey "columns"
File ~anacondaLibsitepackagespandascoreindexesbasepy: in getindexerstrict
self.raiseifmissingkeyarr indexer, axisname
File ~anacondaLibsitepackagespandascoreindexesbasepy: in raiseifmissing
raise KeyErrorfnotfound not in index"
KeyError: Location not in index"
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
