8000 Adding 'n/a' to list of strings denoting missing values by chrisgorgo · Pull Request #16079 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Adding 'n/a' to list of strings denoting missing values #16079

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 2, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added 'n/a' as a missing value (TDD)
  • Loading branch information
chrisgorgo committed May 19, 2017
commit ed05de718b36f9039aeaa8c9f481b59b99dc0dba
2 changes: 1 addition & 1 deletion pandas/tests/io/parser/na_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_non_string_na_values(self):

def test_default_na_values(self):
_NA_VALUES = set(['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN',
'#N/A', 'N/A', 'NA', '#NA', 'NULL', 'NaN',
'#N/A', 'N/A', 'n/a', 'NA', '#NA', 'NULL', 'NaN',
'nan', '-NaN', '-nan', '#N/A N/A', ''])
assert _NA_VALUES == parsers._NA_VALUES
nv = len(_NA_VALUES)
Expand Down
0