code: def write_df_to_jsonl(df, filename):
      df.to_json(
          filename, lines=True, orient="records", force_ascii=False
      )
      return f"File {filename} written"
  
imports: import argparse
  import math
  import os
  import pathlib
  from collections import Counter
  import numpy
  import pandas
label_desc: Use image node_id 22 for calling a global function with example usage: write_df_to_jsonl(df, filename) and returns: str, filename, str