title: Calculate and plot 95% confidence interval for a given dataframe
body: <p>How do I plot a <strong>bar plot</strong> from a data frame and a 95% confidence interval in the same graph using matplotlib on python(using the yerr arguement if possible). The plot should look like:
  <a href="https://i.stack.imgur.com/CEd2F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CEd2F.png" alt="Plot"></a></p>
  
  <p>The dataframe looks like this with 3649 entries:
  <a href="https://i.stack.imgur.com/3Ts74.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3Ts74.png" alt="dataframe(df)"></a></p>