Question: Imagine you have a dataframe, called 'tickets', with 4 columns: ( ' name ' , 'address', 'parking _ spot', 'number _ of _ tickets' )
Imagine you have a dataframe, called 'tickets', with columns: name 'address', 'parkingspot', 'numberoftickets'
If you wanted to subset out columns, what code could you use choose all that apply
By subsets, I mean show just of the columns, not the entire dataframe
tickets.loc:name 'numberoftickets'
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
