What's the difference between fit_transform and transform in line 17? X_train_scaled = scaler.fit_transform(X_train) X_test_scaled = scaler.transform(X_test)
after printing df.sample(5) im getting this error NameError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_11732/4274681390.py in ----> 1 df.sample(5) NameError: name 'df' is not defined can you help please
Your videos are easy to follow along with clear instructions of why you're making each step. I'm learning a lot from you, thanks!
Great to hear! Thanks for watching my videos Mitchell.
What's the difference between fit_transform and transform in line 17?
X_train_scaled = scaler.fit_transform(X_train)
X_test_scaled = scaler.transform(X_test)
Great video sir...
Great content
after printing df.sample(5) im getting this error NameError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_11732/4274681390.py in
----> 1 df.sample(5)
NameError: name 'df' is not defined
can you help please
Sure, define “df” before calling methods of it.