def upload_file(self, filename, **kwargs):
        data = {'token': self.token}
        data.update(kwargs)
        files = {'file': open(filename, 'rb')}
        return self._post('upload_file', self.get_api_url(), data=data,
                          files=files)
Returns a relative frequency histogram, using the histogram function.
dataset/ETHPy150Open Doist/todoist-python/todoist/api.py/TodoistAPI.upload_file--crossover with--dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/lrelfreq