Skip to content

Conversation

@angelphanth
Copy link
Contributor

This pull request introduces a new utility function for joining multiple pandas DataFrames, improves robustness in the cluster loss calculation, and includes minor documentation and configuration updates. The most significant changes are detailed below.

New utility function:

  • Added df_joiner function to src/abaco/utils.py for joining multiple pandas DataFrames on a specified column, with precondition checks and support for different join types. (Fb5c2b54L457)

Bug fix / robustness improvement:

  • Improved cluster_loss method in src/abaco/ABaCo.py to handle the case where there are no positive KL divergence values, preventing errors when computing the minimum. [1] [2]

Documentation and configuration:

  • Added a new tutorial entry tutorial/demo-mgnify-tomatoes to the documentation index in docs/index.md.
  • Updated jupytext_version metadata in tutorial scripts to 1.18.1 for consistency. [1] [2]
  • Imported pandas as a dependency in src/abaco/utils.py to support the new utility function.

@angelphanth angelphanth linked an issue Dec 22, 2025 that may be closed by this pull request
@angelphanth angelphanth merged commit 3c63675 into main Dec 23, 2025
7 checks passed
@angelphanth angelphanth deleted the anglup-8-reformat-readthedocs branch December 23, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

reformat readthedocs

2 participants