Skip to content

Commit abc84d4

Browse files
authored
Merge pull request #4 from SFuller4/to-json-append-mode
updating typing issues in the core file
2 parents ded62d8 + 29d8995 commit abc84d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2400,7 +2400,7 @@ def to_json(
24002400
index: bool_t = True,
24012401
indent: int | None = None,
24022402
storage_options: StorageOptions = None,
2403-
mode: str = "w",
2403+
mode: Literal["a", "w"] = "w",
24042404
) -> str | None:
24052405
"""
24062406
Convert the object to a JSON string.

0 commit comments

Comments
 (0)