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

Method read_table

camel/loaders/panda_reader.py:198–211  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

196 return pd.read_sql(*args, **kwargs)
197
198 def read_table(
199 self, file_path: str, *args: Any, **kwargs: Dict[str, Any]
200 ) -> "DataFrame":
201 r"""Reads a table and returns a DataFrame.
202
203 Args:
204 file_path (str): The path to the table.
205 *args (Any): Additional positional arguments.
206 **kwargs (Dict[str, Any]): Additional keyword arguments.
207
208 Returns:
209 DataFrame: The DataFrame object.
210 """
211 return pd.read_table(file_path, *args, **kwargs)
212
213 def read_clipboard(
214 self, *args: Any, **kwargs: Dict[str, Any]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected