def _filter_row_values(row, empty_str, include=None):
    filtered = []
    for field in row:
        # pylint: disable=superfluous-parens
        if (field or field is 0 or (isinstance(field, float) and field == 0)
                or field in (include or [])):
            filtered.append(field)
        else:
            filtered.append(empty_str)
        # pylint: enable=superfluous-parens
    return filtered
dataset/ETHPy150Open boto/requestbuilder/requestbuilder/mixins/formatting.py/_filter_row_values/original