MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / read_html

Method read_html

camel/loaders/panda_reader.py:228–241  ·  view source on GitHub ↗

r"""Reads an HTML file and returns a DataFrame. Args: file_path (str): The path to the HTML file. *args (Any): Additional positional arguments. **kwargs (Dict[str, Any]): Additional keyword arguments. Returns: DataFrame: The DataFrame

(
        self, file_path: str, *args: Any, **kwargs: Dict[str, Any]
    )

Source from the content-addressed store, hash-verified

226
227 @check_suffix([".html"])
228 def read_html(
229 self, file_path: str, *args: Any, **kwargs: Dict[str, Any]
230 ) -> "DataFrame":
231 r"""Reads an HTML file and returns a DataFrame.
232
233 Args:
234 file_path (str): The path to the HTML file.
235 *args (Any): Additional positional arguments.
236 **kwargs (Dict[str, Any]): Additional keyword arguments.
237
238 Returns:
239 DataFrame: The DataFrame object.
240 """
241 return pd.read_html(file_path, *args, **kwargs)
242
243 @check_suffix([".feather"])
244 def read_feather(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected