Could you please help me store the 'name' and 'gender' into a new pandas.DataFrame from the following loop's outcome?

Here's my loop function:

```
def predict_gender_combined(name_input):
  d_2=GenderDetector()

  g_2=d_2.get_gender(name_input)
  g_3= Genderize().get([name_input])
  print(f'{g_2}\n{g_3}')
  print('---------------')
  return(g_2,g_3)

name_list= ['Anna', 'Maria']
 for name in name_list:
  _=predict_gender_combined(name)

```

outcome:

```
Person(title=None, first_name='anna', last_name=None, email=None, gender='f')
[{'name': 'Anna', 'gender': 'female', 'probability': 0.98, 'count': 383713}]
---------------
Person(title=None, first_name='maria', last_name=None, email=None, gender='f')
[{'name': 'Maria', 'gender': 'female', 'probability': 0.98, 'count': 334287}]
---------------

```

Goal: To create a new pandas.DataFrame, with first column "name" and second column "gender"

```
name   gender
Anna    f
Maria   f

```

Attempt:

```
prediction_list = list() 
name_list= ['Anna', 'Maria'] 
for name in name_list: 
  prediction=predict_gender_combined(name) 
  prediction_list.append(prediction) 

```