title: Iterate through columns in a dataframe and plot on the same graph (Python)
body: <p>I am relatively new to Python, although I have some basic understanding of data analysis and statistics from my experience as a molecular biologist. With that, I am trying to use Python to plot several columns I have in my dataframe into one nice graph to be able to compare the individual data from various experimental conditions. I have attached an example in a screenshot showing how I have some columns after I did some very basic data wrangling and cleaning (transpose, removing NaN or '0' values, etc.). As you can see, I'd like to be able to loop through columns (let's say columns 2-10 for example) and plot only that data into the kde graph. How can I go about doing this efficiently? Thank you so much for your patience and help! <a href="https://i.stack.imgur.com/tuQtd.png" rel="nofollow noreferrer">enter image description here</a></p>
  <pre><code>sns.set_style(&quot;darkgrid&quot;)
  sns.kdeplot(data=df['N01_POOL4_1143_totNG_120_sampNG'],shade=True)
  sns.kdeplot(data=df['N01_POOL9_2417_totNG_636_sampNG'],shade=True)
  sns.kdeplot(data=df['N15_POOL6_1889_totNG_60_sampNG'],shade=True)
  sns.kdeplot(data=df['N95_POOL2_669_totNG_75_sampNG'],shade=True)
  sns.kdeplot(data=df['PosC1U_POOL2_669_totNG_171_sampNG'],shade=True)
  plt.xlim(-400,3000)
  plt.ylim(-0.00001,0.004)
  </code></pre>