import pandas as pd

# df = pd.read_csv('data/mtcars.csv')
df = pd.read_csv('https://raw.githubusercontent.com/Datamanim/dataq/main/mtcars.csv',index_col=0)
print(df.info())
print(df.head())

# Add New Coloumn
index = list(df.index)
brand_list = [str(x).split(' ')[0] for x in index]
print(brand_list)
df['brand'] = pd.DataFrame(brand_list).values
print(df.head())
b26ca3aa7b5da8dff377fed8170a464f3c38db0d
<mask token>

<mask token>
print(df.info())
print(df.head())
<mask token>
print(brand_list)
<mask token>
print(df.head())

<mask token>
df = pd.read_csv(
    'https://raw.githubusercontent.com/Datamanim/dataq/main/mtcars.csv',
    index_col=0)
print(df.info())
print(df.head())
index = list(df.index)
brand_list = [str(x).split(' ')[0] for x in index]
print(brand_list)
df['brand'] = pd.DataFrame(brand_list).values
print(df.head())

import pandas as pd
df = pd.read_csv(
    'https://raw.githubusercontent.com/Datamanim/dataq/main/mtcars.csv',
    index_col=0)
print(df.info())
print(df.head())
index = list(df.index)
brand_list = [str(x).split(' ')[0] for x in index]
print(brand_list)
df['brand'] = pd.DataFrame(brand_list).values
print(df.head())

import pandas as pd

# df = pd.read_csv('data/mtcars.csv')
df = pd.read_csv('https://raw.githubusercontent.com/Datamanim/dataq/main/mtcars.csv',index_col=0)
print(df.info())
print(df.head())

# Add New Coloumn
index = list(df.index)
brand_list = [str(x).split(' ')[0] for x in index]
print(brand_list)
df['brand'] = pd.DataFrame(brand_list).values
print(df.head())