Skip to content

Commit 5a8158b

Browse files
committed
fix: commit checks
1 parent 28fa332 commit 5a8158b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/io/json/_json.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -981,13 +981,13 @@ def _read_ujson(self) -> DataFrame | Series:
981981
elif self.nrows:
982982
lines = list(islice(self.data, self.nrows))
983983
lines_json = self._combine_lines(lines)
984-
obj = self._get_object_parser(lines_json)
984+
obj: DataFrame | Series = self._get_object_parser(lines_json)
985985
else:
986986
data = ensure_str(self.data)
987987
data_lines = data.split("\n")
988-
obj = self._get_object_parser(self._combine_lines(data_lines))
988+
obj: DataFrame | Series = self._get_object_parser(self._combine_lines(data_lines))
989989
else:
990-
obj = self._get_object_parser(self.data)
990+
obj: DataFrame | Series = self._get_object_parser(self.data)
991991
if self.dtype_backend is not lib.no_default:
992992
return obj.convert_dtypes(
993993
infer_objects=False, dtype_backend=self.dtype_backend

0 commit comments

Comments
 (0)