Python Pandas Tutorial - Adding & Dropping columns (Machine Learning)
This video explains how to add a new column to an existing pandas dataframe , how to assign a new column to a pandas dataframe, dropping columns from a pandas dataframe, dropping a row based on index or specific condition or range etc. As we know that pandas dataframe is a two dimensional tabular structure containing data stored in the form of rows and columns just like we have tables in relational database systems like Mysql or Sql server or spreadsheet etc. Using pandas library we can perform both row as well as column specific operations in order to make data in the desirable shape. Lot of times as a part of data wrangling step we either add new columns or drop not required columns or delete certain observations or rows based on specific condition.
*******************GitHub Repo***********************
https://github.com/nitinkaushik01/Dat...
#DataScience #PandasDataframe #TheAIUniversity