Skip to content

Commit

Permalink
Remove old example
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed May 28, 2024
1 parent c812784 commit 381412c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}]'
"""
Expand Down

0 comments on commit 381412c

Please sign in to comment.