Question for Lab 1
I've got a fun program on my webpage that generates random CSV data for people. You can access it and examine the first few rows via Python like so:
import pandas as pd df = pd.read_csv('https://www.marksmath.org/cgi-bin/random_data.csv?username=mark') df.head()
Here's the cool thing - the data is randomly generated but the random number generator is seeded using the
username query parameter in the URL. Thus, if I execute that command several times, I get the same result every time. That result depends upon the
username, however. Thus, if you do it with your forum
username, you'll get a different result. Thus, we all have our own randomly generated data file!
The problem: Using the code above with your
username, generate your data file and then
- Compute the mean and sample standard deviation of the heights in your data and
- create a histogram of the heights.
Be sure to include both the code that you typed, as well as the results in your post.