Combines a list of JSON objects into one JSON object.
(self, lines)
| 961 | return filepath_or_buffer |
| 962 | |
| 963 | def _combine_lines(self, lines) -> str: |
| 964 | """ |
| 965 | Combines a list of JSON objects into one JSON object. |
| 966 | """ |
| 967 | return ( |
| 968 | f"[{','.join([line for line in (line.strip() for line in lines) if line])}]" |
| 969 | ) |
| 970 | |
| 971 | @overload |
| 972 | def read(self: JsonReader[Literal["frame"]]) -> DataFrame: ... |
no test coverage detected