@staticmethod
def _normalize_column(column):
    """Normalize value for use as SQLite column name."""
    if not isinstance(column, str):
        msg = "expected column of type 'str', got {0!r} instead"
        raise TypeError(msg.format(column.__class__.__name__))
    column = column.strip()
    column = column.replace('"', '""')
    if column == '':
        column = '_empty_'
    return '"' + column + '"'
