Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Let, 'marks' be an attribute of a dataframe df . Which of the following is true for the following code? df . drop ( '

Let, 'marks' be an attribute of a dataframe df. Which of the following is true for the following code?
df.drop('marks', axis =1)
Answer choices
Select only one option
The 'marks' column will be dropped and the changes will be reflected in the original dataframe
The 'marks' column will be dropped and the changes will be not be reflected in the original dataframe
The row with index name marks will be dropped and the changes will be reflected in the original dataframe
The row with index name marks will be dropped and the changes will be not be reflected in the original dataframe

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Publishing With Filemaker Pro On The Web

Authors: Maria Langer

1st Edition

0201696657, 978-0201696653

Students also viewed these Databases questions