Added table as Allowed orient Value in to_json Docs(#22272) (#22277) · pandas-dev/pandas@0370740 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1952,13 +1952,13 @@ def to_json(self, path_or_buf=None, orient=None, date_format=None,
1952 1952 * Series
1953 1953
1954 1954 - default is 'index'
1955 - - allowed values are: {'split','records','index'}
1955 + - allowed values are: {'split','records','index','table'}
1956 1956
1957 1957 * DataFrame
1958 1958
1959 1959 - default is 'columns'
1960 1960 - allowed values are:
1961 - {'split','records','index','columns','values'}
1961 + {'split','records','index','columns','values','table'}
1962 1962
1963 1963 * The format of the JSON string
1964 1964