Clarification for Sea Level Predictor

I downloaded the .csv file but Excel can’t seem to parse it correctly and Google Sheets isn’t showing the numbers correctly - it’s showing me 9 digit values under all the non-date columns. Is there some other program that can read the values correctly that I can use?

Also, what units are the measurements in? The challenge wants to make a graph with units in inches, but CSIRO uses millimeters for these, no?

Challenge: Data Analysis with Python Projects - Sea Level Predictor

Link to the challenge:

Are you able to open the CSV on replit? It should look like this:

Year,CSIRO Adjusted Sea Level,Lower Error Bound,Upper Error Bound,NOAA Adjusted Sea Level

Good question about the units. The source is linked at the bottom, and it specifies inches: “Comulative changes (in inches) in sea level for the world’s oceans based on the combination of long-term tide gauge measurements and recent satellite measurements.”

Yes, but usually opening these files on Sheets makes it easier to understand what I’m seeing cause the columns are actually ordered.

I get that. It can be useful to understand the data through pandas methods .info(), .describe() and .head() though. You can imagine dealing with data that’s millions of rows this way and understanding min and max values, ranges, anomalies and missing values quickly.

When you ask “Is there some other program that can read the values correctly that I can use?” I would say Pandas.

One really important thing that I want to note is that some applications mess with formatting of .csv files upon opening them, I think mac’s ‘Numbers’ apps is one of them, and google sheets might also do the same thing. If you’re ever in doubt it’s worth it to delete and redownload that .csv file.
The reason they are measuring in inches is because, although water is of course measured in volume (ml, L), the measurement in question is “sea level” which you can think of as a height.
If you want to literally see the contents of a .csv without risking the formatting getting messed up, you can try using the ‘cat’ command in your command line which just prints the text contents of the file.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.