done
This commit is contained in:
37
lib/python3.11/site-packages/pandas-stubs/io/xml.pyi
Normal file
37
lib/python3.11/site-packages/pandas-stubs/io/xml.pyi
Normal file
@ -0,0 +1,37 @@
|
||||
from collections.abc import Sequence
|
||||
|
||||
from pandas.core.frame import DataFrame
|
||||
|
||||
from pandas._libs.lib import _NoDefaultDoNotUse
|
||||
from pandas._typing import (
|
||||
CompressionOptions,
|
||||
ConvertersArg,
|
||||
DtypeArg,
|
||||
DtypeBackend,
|
||||
FilePath,
|
||||
ParseDatesArg,
|
||||
ReadBuffer,
|
||||
StorageOptions,
|
||||
XMLParsers,
|
||||
)
|
||||
|
||||
def read_xml(
|
||||
path_or_buffer: FilePath | ReadBuffer[bytes] | ReadBuffer[str],
|
||||
*,
|
||||
xpath: str = ...,
|
||||
namespaces: dict[str, str] | None = ...,
|
||||
elems_only: bool = ...,
|
||||
attrs_only: bool = ...,
|
||||
names: Sequence[str] | None = ...,
|
||||
dtype: DtypeArg | None = ...,
|
||||
converters: ConvertersArg | None = ...,
|
||||
parse_dates: ParseDatesArg | None = ...,
|
||||
# encoding can not be None for lxml and StringIO input
|
||||
encoding: str | None = ...,
|
||||
parser: XMLParsers = ...,
|
||||
stylesheet: FilePath | ReadBuffer[bytes] | ReadBuffer[str] | None = ...,
|
||||
iterparse: dict[str, list[str]] | None = ...,
|
||||
compression: CompressionOptions = ...,
|
||||
storage_options: StorageOptions = ...,
|
||||
dtype_backend: DtypeBackend | _NoDefaultDoNotUse = ...,
|
||||
) -> DataFrame: ...
|
Reference in New Issue
Block a user