Skip to content

Commit

Permalink
DOC: add backticks to docstrings (pandas-dev#54030)
Browse files Browse the repository at this point in the history
add backticks to docstrings
  • Loading branch information
wcgonzal authored and im-vinicius committed Jul 8, 2023
1 parent fa19b70 commit c2134a6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pandas/io/xml.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
:mod:`pandas.io.xml` is a module for reading XML.
:mod:``pandas.io.xml`` is a module for reading XML.
"""

from __future__ import annotations
Expand Down Expand Up @@ -66,26 +66,26 @@ class _XMLFrameParser:
Parameters
----------
path_or_buffer : a valid JSON str, path object or file-like object
path_or_buffer : a valid JSON ``str``, path object or file-like object
Any valid string path is acceptable. The string could be a URL. Valid
URL schemes include http, ftp, s3, and file.
xpath : str or regex
The XPath expression to parse required set of nodes for
migration to `Data Frame`. `etree` supports limited XPath.
migration to :class:`~pandas.DataFrame`. `etree` supports limited XPath.
namespaces : dict
The namespaces defined in XML document (`xmlns:namespace='URI')
The namespaces defined in XML document (``xmlns:namespace='URI'``)
as dicts with key being namespace and value the URI.
elems_only : bool
Parse only the child elements at the specified `xpath`.
Parse only the child elements at the specified ``xpath``.
attrs_only : bool
Parse only the attributes at the specified `xpath`.
Parse only the attributes at the specified ``xpath``.
names : list
Column names for Data Frame of parsed XML data.
Column names for :class:`~pandas.DataFrame`of parsed XML data.
dtype : dict
Data type for data or columns. E.g. {{'a': np.float64,
Expand Down

0 comments on commit c2134a6

Please sign in to comment.