<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def attributes(data):
 """Return all the non callable and non special attributes of the input data :param data: an object :returns: a list ['cols', 'name', 'rows'] """

    return [x for x in dir(data) if not callable(x) and not x.startswith('__')]