Skip to content

Commit

Permalink
Merge pull request #208 from alexhanna/patch-5
Browse files Browse the repository at this point in the history
Fixing name of numeric columns
  • Loading branch information
lmichael107 committed Aug 4, 2015
2 parents 0f79bfe + dfcaf9f commit 04e1711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/best_practice/dont_repeat_yourself.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ from `extractData()` we'll:
* if we find one, convert it to a float

```python
numeric_columns = ("CI type","Volume","Range","Discrimination")
numeric_columns = ("Age","Income","Education","Hours per week")
if key in numeric_columns and value != "" :
value = float(value)
```
Expand Down

0 comments on commit 04e1711

Please sign in to comment.