Skip to content

Commit

Permalink
TYP: loosen types of to_markdown, align to docs (pandas-dev#46212)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel authored Mar 3, 2022
1 parent 004b4c5 commit 4e3826f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import itertools
from textwrap import dedent
from typing import (
IO,
TYPE_CHECKING,
Any,
Callable,
Expand Down Expand Up @@ -2717,7 +2716,7 @@ def to_feather(self, path: FilePath | WriteBuffer[bytes], **kwargs) -> None:
)
def to_markdown(
self,
buf: IO[str] | str | None = None,
buf: FilePath | WriteBuffer[str] | None = None,
mode: str = "wt",
index: bool = True,
storage_options: StorageOptions = None,
Expand Down

0 comments on commit 4e3826f

Please sign in to comment.