title: Dynamically create dataframes in pandas by reading a list of csv files
body: <p>I have a folder containing 3 csv files:</p>
  
  <pre><code>a.csv
  b.csv
  c.csv
  </code></pre>
  
  <p>To read all the csv's in this folder and create a dataframe, I'm currently doing this:</p>
  
  <pre><code>df1 = pd.read_csv('a.csv')
  df2 = pd.read_csv('b.csv')
  df3 = pd.read_csv('c.csv')
  </code></pre>
  
  <p>Is there any way to automate the naming of the dataframes (df1, df2 and df3) and reading of all the csv files in that folder. Say, I have 10 csv files, I don't want to manually write 10 read statements in pandas.</p>
  
  <p>For example, I don't want to write this:</p>
  
  <pre><code>df1 = pd.read_csv('a.csv')
  ......
  ......
  ......
  
  df10 = pd.read_csv('j.csv')
  </code></pre>
  
  <p>Thanks!</p>