Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Format test case
  • Loading branch information
vuminhle committed Jun 26, 2018
commit c00061aaf37e4b7b9b4c6fc229ac3412dd67cd0d
3 changes: 2 additions & 1 deletion pandas/tests/io/json/test_normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ def test_value_array_record_prefix(self):

def test_list_record_path(self):
# GH 21605
result = json_normalize({'A': {'B': [{'X': 1, 'Y': 2}, {'X': 3, 'Y': 4}]}}, ['A', 'B'])
result = json_normalize(
{'A': {'B': [{'X': 1, 'Y': 2}, {'X': 3, 'Y': 4}]}}, ['A', 'B'])
expected = DataFrame([[1, 2], [3, 4]], columns=['X', 'Y'])
tm.assert_frame_equal(result, expected)

Expand Down