python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Scailing and keeping names of features
I tried to scale features in my data frame however it also results in losing all names in my df
Code:
from sklearn.preprocessing import RobustScaler
X_train, X_test, y_train, y_test = train_test_split...
Rus Pylypyuk
Votes: 0
Answers: 1
How do I feature engineer more than 2 new variables in a pandas dataframe?
I'm making a model that predicts whether an invidual will buy a product after watching an ad.
Here's the data, (sorry for the size I don't know how to make it smaller):
I want to add a new column cal...
R_C
Votes: 0
Answers: 2
How to implement a function containing imputation methods to aggregation primitives in featuretools?
I'd like to use mean/median/mode imputation methods for null values in a dataset.
The output is supposed to be a table with aggregated values already. I just have really no idea on how to do it..
Sarcuz Madam
Votes: 0
Answers: 1
I am getting NaN values in the dataframe after applying OneHotEncoding, any idea on how to get rid of those?
I am working on a clustering project and got a dataset with no null values in it.
There are 2 categorical columns gender and vehical_type which I need to convert to numerics, so I have applied One hot...
B. Lakshman raj
Votes: 0
Answers: 1