We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82838db commit 73e266dCopy full SHA for 73e266d
pandas/tests/io/json/test_normalize.py
@@ -934,6 +934,8 @@ def test_json_normalize_non_str_keys(self):
934
# keys correctly when record_path is used
935
936
data = [{"a": 1, 12: "meta_value", "nested": [{"b": 2}]}]
937
+
938
result = json_normalize(data, record_path=["nested"], meta=[12])
939
expected = DataFrame({"b": [2], "12": ["meta_value"]})
940
941
tm.assert_frame_equal(result, expected)
0 commit comments