human
I wrote the below code

    import os
    assert os.path.isdir(folder), ('%s    is    not    a    folder!' % folder)
    Observed = ClimateDataPortal.sample_codes['Observed']
    from decimal import Decimal
    import datetime
    available_tables = {}
    for sample_table_spec in db(db.climate_sample_table_spec).select():
        if (sample_table_spec.sample_type_code == Observed):
            available_tables[sample_table_spec.name] = ClimateDataPortal.sample_table_id(sample_table_spec.id)
    field_order = []
    def readings_lambda(sample_table, input_units):
        conversion = ClimateDataPortal.units_in_out[input_units]['in']
        return (lambda missing_data_marker, converter, place_id: Readings(place_id, missing_data_marker=missing_data_marker, converter=(lambda value: conversion(float(value))), time_period=ClimateDataPortal.year_month_day_to_day_number, maximum=None, minimum=None, writer=InsertChunksWithoutCheckingForExistingReadings(sample_table, db)))
    date_format = {}
    field_positions = []
    for (field, position) in zip(fields, range(len(fields))):
        if (field is not 'UNUSED'):
            if (field in ('year', 'month', 'day')):
                date_format[(field + '_pos')] = position
            else:
                (field, input_units) = field.rsplit('    ', 1)
                try:
                    sample_table = available_tables[field]
                except KeyError:
                    raise Exception(("'%s'    not    recognised,    available    options    are:    year,    month,    day,    %s\nYou    can    add    new    tables    using    add_table.py" % (field, ',    '.join(map('"%s"'.__mod__, available_tables.keys())))))
                else:
                    if clear_existing_data:
                        print ('Clearing    ' + sample_table)
                        sample_table.clear()
                    field_positions.append((readings_lambda(sample_table, input_units), position))
    for field in ('year', 'month', 'day'):
        assert ((field + '_pos') in date_format), ('%s    is  ...

What's a good function header?

Write me a Python code to print ('Clearing    ' + sample_table)?
assistant
#Here is Python code to print ('Clearing    ' + sample_table)
.

def import_tabbed_readings(folder, start_station, end_station, suffix, prefix, fields, clear_existing_data, separator, missing_data_marker):