Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions mostly concerned with managing data, without focus on pre-processing or modelling.
2
votes
3
answers
21k
views
Is there a way to replace existing values with NaN
I'm experimenting with the algorithms in iPython Notebooks and would like to know if I can replace the existing values in a dataset with Nan (about 50% or more) at random positions with each column ha …
8
votes
2
answers
70k
views
How to delete entire row if values in a column are NaN [closed]
I'd like to drop all the rows containing a NaN values pertaining to a column. Lets assume I have a dataset like this:
Age Height Weight Gender
12 5'7 NaN M
NaN 5'8 160 M
32 …
2
votes
2
answers
642
views
Is there are way to impute missing values by clustering, regression and stochastic regression
My code for KNN imputation:
import pandas as pd
import numpy as np
import random
from fancyimpute import KNN
data = pd.read_csv("D:/Iris_classification/train.csv")
mat = data.iloc[:,:4].as_matrix …