Given a data set with the goal of graphing the data these issues arise:

* The header is an entry in the list,
* Some of the entries are blank (data missing),
* Even the numbers are in the form of strings

```
income=[]
fertility=[]
for row in csv:
  income.append(row[2])
  fertility.append(row[3])

print(income)
print(fertility)

```

I am trying to modify the above for loop that appends only the numerical values of the row using the float function coded below.

```
def isNumeric(s):
   try:
      s = float(s)
      return True
   except:
      return False

```

Below is my attempt, that is not appending the numerical values of the rows only giving me blank sets for income and fertility.

```
income=[]
fertility=[]
for row in csv:
  if isNumeric(row[2])=='True' and isNumeric(row[3])=='True':
    float(row[2])
    float(row[3])
    income.append(float(row[2]))
    fertility.append(float(row[3]))

print(income)
print(fertility)

```