r"""Reads a JSON file and returns a DataFrame. Args: file_path (str): The path to the JSON 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]
)
| 153 | |
| 154 | @check_suffix([".json"]) |
| 155 | def read_json( |
| 156 | self, file_path: str, *args: Any, **kwargs: Dict[str, Any] |
| 157 | ) -> "DataFrame": |
| 158 | r"""Reads a JSON file and returns a DataFrame. |
| 159 | |
| 160 | Args: |
| 161 | file_path (str): The path to the JSON file. |
| 162 | *args (Any): Additional positional arguments. |
| 163 | **kwargs (Dict[str, Any]): Additional keyword arguments. |
| 164 | |
| 165 | Returns: |
| 166 | DataFrame: The DataFrame object. |
| 167 | """ |
| 168 | return pd.read_json(file_path, *args, **kwargs) |
| 169 | |
| 170 | @check_suffix([".parquet"]) |
| 171 | def read_parquet( |
nothing calls this directly
no outgoing calls
no test coverage detected