def _battedball_cd(cls, ab_des):
        """
        Batted ball Code for at bat description
        :param ab_des: at bat description
        :return: battedball_cd(str)
        """
        _ab_des = ab_des.lower()
        if ab_des.count("ground")>0:
            return 'G'
        elif _ab_des.count("lines")>0:
            return 'L'
        elif _ab_des.count("flies")>0:
            return 'F'
        elif _ab_des.count("pops")>0:
            return 'P'
        elif _ab_des.count("on a line drive")>0:
            return 'L'
        elif _ab_des.count("fly ball")>0:
            return 'F'
        elif _ab_des.count("ground ball")>0:
            return 'G'
        elif _ab_des.count("pop up")>0:
            return 'P'
        else:
            return ''
Batted ball Code for at bat description
        :param ab_des: at bat description
        :return: battedball_cd(str)