r"""Reads a CSV file and returns a DataFrame. Args: file_path (str): The path to the CSV file. *args (Any): Additional positional arguments. **kwargs (Dict[str, Any]): Additional keyword arguments. Returns: DataFrame: The DataFrame ob
(
self, file_path: str, *args: Any, **kwargs: Dict[str, Any]
)
| 121 | |
| 122 | @check_suffix([".csv"]) |
| 123 | def read_csv( |
| 124 | self, file_path: str, *args: Any, **kwargs: Dict[str, Any] |
| 125 | ) -> "DataFrame": |
| 126 | r"""Reads a CSV file and returns a DataFrame. |
| 127 | |
| 128 | Args: |
| 129 | file_path (str): The path to the CSV file. |
| 130 | *args (Any): Additional positional arguments. |
| 131 | **kwargs (Dict[str, Any]): Additional keyword arguments. |
| 132 | |
| 133 | Returns: |
| 134 | DataFrame: The DataFrame object. |
| 135 | """ |
| 136 | return pd.read_csv(file_path, *args, **kwargs) |
| 137 | |
| 138 | @check_suffix([".xlsx", ".xls"]) |
| 139 | def read_excel( |