original_docstring: 
      Convert an Excel file containing credit card transaction, as supplied by Cal Israel Credit Cards.
      Currently Cal's web site supports only exports in Excel XLSHTML format.
      
docstring: Convert an Excel file containing credit card transaction, as supplied by Cal Israel Credit Cards.
  Currently Cal's web site supports only exports in Excel XLSHTML format.
docstring_tokens: Convert an Excel file containing credit card transaction as supplied by Cal Israel Credit Cards . Currently Cal ' s web site supports only exports in Excel XLSHTML format .
code: def cal_conversion(from_file, to_file):
      """
      Convert an Excel file containing credit card transaction, as supplied by Cal Israel Credit Cards.
      Currently Cal's web site supports only exports in Excel XLSHTML format.
      """
      data_table_xpath = '/html/body/form/table//table'
      columns, data = exl.html_table_to_list(from_file, data_table_xpath)
  
      # This is the expected table header. Ensure it is as expected to get an exception if
      # the bank suddenly changes the table structure
      expected_columns = ['תאריך העסקה', 'שם בית העסק', 'סכום העסקה', '', 'סכום החיוב', '', 'פירוט נוסף']
      assert columns == expected_columns
  
      exl.list_to_csv(data, to_file, drop_columns=[2, 3, 5, 6])
      print('Converted', len(data), 'rows')
code_tokens: def cal_conversion ( from_file , to_file ) : data_table_xpath = '/html/body/form/table//table' columns , data = exl . html_table_to_list ( from_file , data_table_xpath ) expected_columns = [ 'תאריך העסקה', 'שם בית  ה סק', 'סכום העסקה', '',   סכום החיוב', '', 'פיר ו  נ ו ף']      assert columns == expected_columns exl . list_to_csv ( data , to_file , drop_columns = [ 2 , 3 , 5 , 6 ] ) print ( 'Converted' , len ( data ) , 'rows' )
short_docstring: Convert an Excel file containing credit card transaction, as supplied by Cal Israel Credit Cards.
short_docstring_tokens: Convert an Excel file containing credit card transaction as supplied by Cal Israel Credit Cards .
comment: """
      Convert an Excel file containing credit card transaction, as supplied by Cal Israel Credit Cards.
      Currently Cal's web site supports only exports in Excel XLSHTML format.
      """$SEP$# This is the expected table header. Ensure it is as expected to get an exception if$SEP$# the bank suddenly changes the table structure