code: def copy_from_csv(conn, file, qualified_name: str, delimiter=',', encoding='utf8',
                    null_str='', header=True, escape_str='\\', quote_char='"',
                    force_not_null=None, force_null=None):
      
  
      copy_sql = copy_from_csv_sql(qualified_name, delimiter, encoding,
                                   null_str=null_str, header=header,
                                   escape_str=escape_str, quote_char=quote_char,
                                   force_not_null=force_not_null,
                                   force_null=force_null)
  
      with conn:
          with conn.cursor() as cursor:
              cursor.copy_expert(copy_sql, file)
docs: Copy file-like object to database table.
  
      Notes
      -----
      Implementation defaults to postgres standard except for encoding.
      Postgres falls back on client encoding, while function defaults to utf-8.
  
      References
      ----------
      https://www.postgresql.org/docs/current/static/sql-copy.html