-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
TST: better exception messages with na_values and pyarrow engine #56090
TST: better exception messages with na_values and pyarrow engine #56090
Conversation
df = parser.read_csv(StringIO(data), na_values={"b": 2}, keep_default_na=False) | ||
expected = DataFrame({"a": [1], "b": [np.nan]}) | ||
tm.assert_frame_equal(df, expected) | ||
|
||
|
||
@xfail_pyarrow # ValueError: The pyarrow engine doesn't support passing a dict | ||
# @xfail_pyarrow # ValueError: The pyarrow engine doesn't support passing a dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be removed now?
@@ -235,7 +259,7 @@ def test_na_value_dict_multi_index(all_parsers, index_col, expected): | |||
tm.assert_frame_equal(result, expected) | |||
|
|||
|
|||
@xfail_pyarrow # ValueError: The pyarrow engine doesn't support passing a dict | |||
# @xfail_pyarrow # ValueError: The pyarrow engine doesn't support passing a dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
@@ -183,14 +200,21 @@ def test_bool_na_values(all_parsers): | |||
tm.assert_frame_equal(result, expected) | |||
|
|||
|
|||
@xfail_pyarrow # ValueError: The pyarrow engine doesn't support passing a dict | |||
# @xfail_pyarrow # ValueError: The pyarrow engine doesn't support passing a dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same
Thanks @jbrockmendel |
…das-dev#56090) * TST: better exception messages with na_values and pyarrow engine * remove commented-out * remove commented-out
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.