chendaniely / pandas_for_everyone

Repository to accompany "Pandas for Everyone"
http://a.co/d/c270uul
MIT License
397 stars 406 forks source link

[SOLVED] days not consecutive in the last two prints in section 6.4 #5

Open kneoyskw opened 6 years ago

kneoyskw commented 6 years ago

On section 6.4 "Variables in Both Rows and Columns", in the last two 'head' prints of "weather" data in page 134, the day column starts with value 'd1' on the 1st row, but it jumps with no apparent reason to 'd10' on the 2nd row, and then it continues with 'd11', 'd12', and 'd13'. Why jumping? A human error in the editing process?

kneo - the English to Japanese translator of the book.

kneoyskw commented 6 years ago

After printing the whole data (not .head() ), I realized that the data is actually in right order. The day column is like d1, d10, d11, ... d18, d19, d2, d20, etc. So this seems to be a "not an issue". Sorry about that.