dilimap.clients.drug_warnings
- dilimap.clients.drug_warnings(chembl_id, aggregate=None)
Fetch drug warnings from ChEMBL for given compound(s).
Args: chembl_id (str or list of str): One or more ChEMBL IDs. aggregate (bool, optional): Aggregate warnings per compound (default: True if list of chembl_ids provided).
Returns: pd.DataFrame: Drug warning information indexed by ChEMBL ID.