def update_profile_banner(self, filename, **kargs):
        f = kargs.pop('file', None)
        headers, post_data = API._pack_image(filename, 700, form_field="banner", f=f)
        bind_api(
            api=self,
            path='/account/update_profile_banner.json',
            method='POST',
            allowed_param=['width', 'height', 'offset_left', 'offset_right'],
            require_auth=True
        )(post_data=post_data, headers=headers)
:reference: https://dev.twitter.com/rest/reference/post/account/update_profile_banner
dataset/ETHPy150Open tweepy/tweepy/tweepy/api.py/API.update_profile_banner