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 |
Kaggle is an online community for data scientists and machine learning practitioners owned by Google.
4
votes
Accepted
Is numpy.corrcoef() enough to find correlation?
On a side note, I don't think correlation is the correct measure of relation for you to be using, since Survived is technically a binary categorical variable.
"Correlation" measures used should depen …
1
vote
How to use the fillna method in a for loop
While replace is a valid approach, it can be inefficient and slow on a large scale - see this question.
You should instead use map to encode NA as XX - perhaps something like this:
na_data = ['Alley …
2
votes
Accepted
How to handle missing date data?
I suspect you're working with the Ames house price dataset - one of Kaggle's introductory competitions.
Replacing the missing values with the dataset mean / median is very general.
I believe you hav …