<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def info_data(self, data_info=None, completo=True, key=None, verbose=True):
 """Show some info."""


        def _info_dataframe(data_frame):
            if completo:
                print('\n', data_frame.info(), '\n', data_frame.describe(), '\n')
            print(data_frame.head())
            print(data_frame.tail())

        if verbose:
            if data_info is None:
                _info_dataframe(self.data[key or self.masterkey])
            elif type(data_info) is dict:
                [_info_dataframe(df) for df in data_info.values()]
            else:
                _info_dataframe(data_info)