When you need to apply a small tweak to the document, it should not require much time to Discard columns log. This type of basic activity does not have to demand extra training or running through handbooks to learn it. Using the right document modifying resource, you will not spend more time than is needed for such a swift change. Use DocHub to streamline your modifying process regardless if you are a skilled user or if it is your first time making use of an online editor service. This tool will take minutes to learn to Discard columns log. The sole thing needed to get more productive with editing is a DocHub account.
A plain document editor like DocHub can help you optimize the time you need to devote to document modifying regardless of your previous knowledge about this kind of tools. Make an account now and boost your efficiency immediately with DocHub!
[Music] hello everyone welcome to geeksforgeeks in this video we are going to see some methods of dropping the columns of our data frame now there are several methods to achieve this and we are going to see them one by one so lets first of all import pandas as pd lets run it now lets create our data frame using a csv file so i am again going to use the bangalore csv file that is about bangalore house prices so lets create df is equal to pd dot read csv and lets define the path so which is bangalore.csv lets see the head so df dot head lets run it and i can see that this is my data frame now we can drop the columns using drop method so let me put the first topic as dropping using drop function right so in this we have to do df dot drop and inside it we have to define a list in which we can define the column name so lets say i want to drop the size column so lets copy it lets paste it inside this as a list element and we have to define the axis as 1. remember that axis is equa