I have been trying to extract a table from Wikipedia list of noble laureates .The table has some none value I don't know how to take care of those values.while looping through the cells How can I include the none values in the table. The link to the Wikipedia page is :<https://en.wikipedia.org/wiki/List_of_Nobel_laureates>

```
import requests
from bs4 import BeautifulSoup
import pandas as pd
r=requests.get('https://en.wikipedia.org/wiki/List_of_Nobel_laureates')
soup=BeautifulSoup(r.text, 'html.parser')
table = soup.find('table', class_='wikitable')

rows = table.find_all('tr')
del rows[0]

for row in rows:
    cells=row.find_all('td')
    records=[]
    print(cells)

    year = cells[0].text
    print("contents",cells[1].contents[1].text)
    physics_winner = cells[1].contents[1].text
    physics_url = cells[1].find('a')['href']  

```