File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,10 @@ def _union_indexes(indexes, sort=True):
169169 if len (indexes ) == 1 :
170170 result = indexes [0 ]
171171 if isinstance (result , list ):
172- result = Index (sorted (result ))
172+ if sort :
173+ result = Index (sorted (result ))
174+ else :
175+ result = Index (result )
173176 return result
174177
175178 indexes , kind = _sanitize_and_check (indexes )
Original file line number Diff line number Diff line change @@ -1112,14 +1112,10 @@ def _parse_no_numpy(self):
11121112 self .check_keys_split (decoded )
11131113 self .obj = DataFrame (dtype = None , ** decoded )
11141114 elif orient == "index" :
1115- self .obj = (
1116- DataFrame .from_dict (
1117- loads (json , precise_float = self .precise_float ),
1118- dtype = None ,
1119- orient = "index" ,
1120- )
1121- .sort_index (axis = "columns" )
1122- .sort_index (axis = "index" )
1115+ self .obj = DataFrame .from_dict (
1116+ loads (json , precise_float = self .precise_float ),
1117+ dtype = None ,
1118+ orient = "index" ,
11231119 )
11241120 elif orient == "table" :
11251121 self .obj = parse_table_schema (json , precise_float = self .precise_float )
You can’t perform that action at this time.
0 commit comments