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}]' """