We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5b3f3e commit 318b186Copy full SHA for 318b186
pandas/io/json/_json.py
@@ -292,14 +292,8 @@ def _format_axes(self) -> None:
292
293
def write(self) -> str:
294
iso_dates = self.date_format == "iso"
295
- payload = self.obj_to_write
296
- # When maximum precision is requested, avoid truncation by stringifying
297
- # finite float values at full IEEE-754 precision. Skip for orient='table'
298
- # to preserve Table Schema type conformance.
299
- if self.double_precision == 15 and not isinstance(self, JSONTableWriter):
300
- payload = _stringify_floats_full_precision(payload)
301
return ujson_dumps(
302
- payload,
+ self.obj_to_write,
303
orient=self.orient,
304
double_precision=self.double_precision,
305
ensure_ascii=self.ensure_ascii,
0 commit comments