# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# ### 1. Drop
#
# ### 2. Loc
#
# ### 3. iLoc

import pandas as pd

# <h3 style="color:blue" align="left"> Drop </h3>

df = pd.read_csv("C:/Users/deepusuresh/Documents/Data Science/05. ML/03. To GitHub/1. Linear Regression/1. Single Variable/2. Project 02_Canada Income_Single Variable/canada_per_capita_income.csv")
df.head()

new_df = df.drop('per_capita_income',axis='columns')
new_df.head()

StarcoderdataJupyterScriptsDedupFiltered