def alter_column(self, name, data_type):
        "Changes the data-type of a column and refreshes it."
        index = self.__columns.alter(name, data_type)
        for row in self.__data_area.values():
            row[index] = data_type()
Changes the data-type of a column and refreshes it.
recipes/Python/577825_Rudimentary_Database_Engine/recipe-577825.py