Pandas&Sklearn
Mon 30 June 2025
# Cell 1 - Pandas: Dropping Columns
import pandas as pd
df0 = pd.DataFrame({'A': [1, 2, 3], 'B': [4, 5, 6]})
print(df0)
A B
0 1 4
1 2 5
2 3 6
# Cell 2 - Scikit-learn: Feature Scaling
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LinearRegression
import numpy …Category: pandas-work
Read More