def write_csv_header(self):
        if self.is_dict:
            try:
                self.writer.writeheader()
            except __HOLE__:
                # For Python<2.7
                self.writer.writerow(dict(zip(
                                          self.writer.fieldnames,
                                          self.writer.fieldnames)))
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/usage/base.py/CsvDataMixin.write_csv_header