From 381412c40645318ff8f1c48b10e2023042e337ea Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Tue, 28 May 2024 11:44:55 +0200 Subject: [PATCH] Remove old example --- py-polars/polars/dataframe/frame.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/py-polars/polars/dataframe/frame.py b/py-polars/polars/dataframe/frame.py index 0cd3d520b00f..86d858bb68c6 100644 --- a/py-polars/polars/dataframe/frame.py +++ b/py-polars/polars/dataframe/frame.py @@ -2319,8 +2319,6 @@ def write_json( ... "bar": [6, 7, 8], ... } ... ) - >>> df.write_json() - '{"columns":[{"name":"foo","datatype":"Int64","bit_settings":"","values":[1,2,3]},{"name":"bar","datatype":"Int64","bit_settings":"","values":[6,7,8]}]}' >>> df.write_json(row_oriented=True) '[{"foo":1,"bar":6},{"foo":2,"bar":7},{"foo":3,"bar":8}]' """