Skip to content

Commit fb6306d

Browse files
committed
COMPAT: json warning
1 parent b488a9c commit fb6306d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/json/json.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ def _parse_numpy(self):
764764
if orient == "columns":
765765
args = loads(json, dtype=None, numpy=True, labelled=True,
766766
precise_float=self.precise_float)
767-
if args:
767+
if len(args):
768768
args = (args[0].T, args[2], args[1])
769769
self.obj = DataFrame(*args)
770770
elif orient == "split":

0 commit comments

Comments
 (0)