Skip to content

Commit

Permalink
updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
a-hartens committed Nov 14, 2024
1 parent a92777c commit e5f271c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions phenex/phenotypes/computation_graph_phenotypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,10 @@ def _return_all_dates(self, table, date_columns):

def _coalesce_all_date_columns(self, table):
"""
Generate COALESCE strings for the GREATEST or LEAST function using Ibis.
ComputationGraphPhenotypes have multiple possible date columns. To work with these date columns, which may be null, we perform a coalesce operation for each date column, which allows operations such as 'least' and 'greatest' to work correctly.
Args:
table: The Ibis table object (e.g., joined_table).
names: List of base column names (without the '_date' suffix).
Returns:
Ibis expression representing the COALESCE of the columns.
Expand Down

0 comments on commit e5f271c

Please sign in to comment.