Timeline for Getting the average score for hotel scores in different countries using pandas
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 26, 2018 at 19:21 | comment | added | Graipher |
@maufcost There would have been some small improvements possible, like using a collections.defaultdict in the calculation of the sum of average scores (no need for special casing if country not in d ). Other than that it looks good and is always good practice.
|
|
Jun 26, 2018 at 19:18 | comment | added | maufcost | That helps a lot. I wrote from scratch most of the algorithms in my original code. In general, do you think I wrote them well? (I know that pandas's version is a lot more efficient :) ) | |
Jun 26, 2018 at 19:17 | vote | accept | maufcost | ||
Jun 26, 2018 at 14:07 | history | edited | Graipher | CC BY-SA 4.0 |
deleted 15 characters in body
|
Jun 26, 2018 at 13:39 | history | answered | Graipher | CC BY-SA 4.0 |