Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to median calculation for hotel price tables. #93

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Conversation

sakan811
Copy link
Owner

Details

Replaced average with median when calculating prices grouped by review score and day of the week. Added support for PostgreSQL (using SQL percentile_cont) and SQLite (manual median calculation). This ensures a more robust representation of price distribution.

Replaced average with median when calculating prices grouped by review score and day of the week. Added support for PostgreSQL (using SQL percentile_cont) and SQLite (manual median calculation). This ensures a more robust representation of price distribution.
@sakan811 sakan811 added the enhancement New feature or request label Dec 22, 2024
@sakan811 sakan811 enabled auto-merge December 22, 2024 15:32
@sakan811 sakan811 disabled auto-merge December 22, 2024 15:34
@sakan811 sakan811 merged commit 398ab5e into master Dec 22, 2024
5 checks passed
@sakan811 sakan811 deleted the patch branch December 22, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant