From 13c5a7dbd1c4230ed8e21ffc01e812cdf32a8a3a Mon Sep 17 00:00:00 2001 From: NikhilKumarM <33mnikhilkumar@gmail.com> Date: Fri, 10 Aug 2018 20:47:59 -0400 Subject: [PATCH] Added table as Allowed `orient` Value in to_json Docs(#22272) --- pandas/core/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 08d9191d72a8a..ac7278953e658 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -1952,13 +1952,13 @@ def to_json(self, path_or_buf=None, orient=None, date_format=None, * Series - default is 'index' - - allowed values are: {'split','records','index'} + - allowed values are: {'split','records','index','table'} * DataFrame - default is 'columns' - allowed values are: - {'split','records','index','columns','values'} + {'split','records','index','columns','values','table'} * The format of the JSON string