This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import jsonlines | |
import pandas as pd | |
def jsonl_to_df(file_path): | |
data = [] | |
with jsonlines.open(file_path) as reader: | |
for line in reader: | |
# Process each line of the JSONL file |