title: What is the easiest way to append data to Pandas DataFrame?
body: <p>I am trying to append scraped data to a dataframe:</p>
  <pre><code>import pandas as pd
  import numpy as np
  import matplotlib.pyplot as plt
  from bs4 import BeautifulSoup
  import requests
  import csv
  url=&quot;https://en.wikipedia.org/wiki/List_of_German_football_champions&quot;
  page=requests.get(url).content
  soup=BeautifulSoup(page,&quot;html.parser&quot;)
  
  seasons=[]
  first_places=[]
  runner_ups=[]
  third_places=[]
  top_scorrers=[]
  
  tbody=soup.find_all(&quot;tbody&quot;)[7]
  trs=tbody.find_all(&quot;tr&quot;)
  for tr in trs:
      season = tr.find_all(&quot;a&quot;)[0].text
      first_place = tr.find_all(&quot;a&quot;)[1].text
      runner_up = tr.find_all(&quot;a&quot;)[2].text
      third_place = tr.find_all(&quot;a&quot;)[3].text
      top_scorer = tr.find_all(&quot;a&quot;)[4].text
      seasons.append(season)
      first_places.append(first_place)
      runner_ups.append(runner_up)
      third_places.append(third_place)
      top_scorrers.append(top_scorer)
  
  tuples=list(zip(seasons,first_places,runner_ups,third_places,top_scorrers))
  df=pd.DataFrame(tuples,columns=[&quot;Season&quot;,&quot;FirstPlace&quot;,&quot;RunnerUp&quot;,&quot;ThirdPlace&quot;,&quot;TopScorrer&quot;])
  df
  </code></pre>
  <p><a href="https://i.stack.imgur.com/CVJzX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CVJzX.png" alt="enter image description here" /></a></p>
  <p>Is there an easier way to append data directly to an empty dataframe without creating lists and then zipping them?</p>