title: Writing a loop to generate new series of graphs in Python?
body: <p>I am trying to create a series of dashboards with nearly 12 graphs per institution based on one dataset. I have made a set of graphs for one institution, and I need to do the same for nearly 300 more institutions. Is there a way to just write a for loop in plotly or just in python in general, so that the series of graphs can change based on the institution (origin) name?</p>
  <p>What I have been doing so far is writing this line:</p>
  <pre><code>    origin_df = new_df.loc[new_df['origin']=='Institution1']
  </code></pre>
  <p>and then saving those graphs, and then replacing <code>'Instituion1'</code> with <code>'Institution2'</code></p>
  <p>I just wonder if there is an easier way to do this?</p>
  <p>Any help is greatly appreciated!</p>