old_contents: #!/usr/bin/python
  from __future__ import absolute_import, division, print_function
  import csv
  from itertools import imap
  from operator import itemgetter
  
  
  def main():
      import pandas
      df = pandas.read_csv('/srv/off/html/data/en.openfoodfacts.org.products.csv', sep='\t', low_memory=False)
      colnames = ['code','product_name','quantity','brands','nutrition_grade_fr','nova_group']
      df.to_csv('/srv/off/html/data/offline/en.openfoodfacts.org.products.small.csv', columns = colnames,sep='\t',index=False)
  
  if __name__ == '__main__':
      main()
new_contents: #!/usr/bin/python
  from __future__ import absolute_import, division, print_function
  import csv
  from itertools import imap
  from operator import itemgetter
  
  
  def main():
      import pandas
      df = pandas.read_csv('/srv/off/html/data/en.openfoodfacts.org.products.csv', sep='\t', low_memory=False)
      colnames = ['code','product_name','quantity','brands','nutrition_grade_fr','nova_group','ecoscore_grade']
      df.to_csv('/srv/off/html/data/offline/en.openfoodfacts.org.products.small.csv', columns = colnames,sep='\t',index=False)
  
  if __name__ == '__main__':
      main()
  
subject: Add support for the Eco-Score for Offline-Scan