<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_group(self, name):
 """ Create a group by given group parameter :param name: str :return: New group params """

        url = 'rest/api/2/group'
        data = {'name': name}

        return self.post(url, data=data)