(orient)
| 165 | |
| 166 | @pytest.mark.parametrize("orient", ["split", "records", "index", "columns", "values"]) |
| 167 | def test_write_json_basic(orient): |
| 168 | with tmpdir() as path: |
| 169 | fn = os.path.join(path, "1.json") |
| 170 | df.to_json(fn, orient=orient, lines=False) |
| 171 | actual = dd.read_json(fn, orient=orient, lines=False) |
| 172 | if orient == "values": |
| 173 | actual.columns = list(df.columns) |
| 174 | assert_eq(actual, df) |
| 175 | |
| 176 | |
| 177 | def test_to_json_with_get(): |