Scan your whole stack
From OX Research Newsroom
Are you using flatiron-cleaner?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.23
flatiron-cleaner was last scanned on 26 Nov 2026 at version 0.1.23. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.23 LATEST | 26 Nov 2026 | No rules fired |
| 0.1.22 | 26 Nov 2026 | No rules fired |
| 0.1.21 | 25 Nov 2026 | No rules fired |
| 0.1.20 | 25 Nov 2026 | Not shown |
| 0.1.19 | 25 Nov 2026 | Not shown |
Findings for v0.1.23. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.23; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
flatiron-cleaner is a Python package that cleans Flatiron Health cancer datasets into analysis-ready formats, specifically designed with predictive modeling and survival analysis in mind. By automating complex and tedious data processing workflows, it helps researchers extract meaningful insights and ensure reproducible results while reducing preparation time.
Key features of the package include:
Note: This package is under active development and serves as a starting framework for cleaning Flatiron Health datasets. Flatiron data structures may vary across different datacuts, including changes in column names, coding conventions, or unexpected values. While the package attempts to handle common variations, users should review the processing logic and adapt it as needed for their specific datacut and research question.
Built and tested in python 3.13.
pip install flatiron-cleaner
The following cancers have their own dedicated data processor class:
| Cancer Type | Processor Name |
|---|---|
| Advanced Urothelial Cancer | DataProcessorUrothelial |
| Advanced NSCLC | DataProcessorNSCLC |
| Metastatic Colorectal Cancer | DataProcessorColorectal |
| Metastatic Breast Cancer | DataProcessorBreast |
| Metastatic Prostate Cancer | DataProcessorProstate |
| Metastatic Renal Cell Cancer | DataProcessorRenal |
| Advanced Melanoma | DataProcessorMelanoma |
| Advanced Head and Neck | DataProcessorHeadNeck |
For cancer types without a dedicated processor, DataProcessorGeneral is available with standard methods.
The following methods are available across all processor classes, including the general processor:
| Method | Description | File Processed |
|---|---|---|
process_demographics() |
Processes patient demographic information | Demographics.csv |
process_mortality() |
Processes mortality data | Enhanced_Mortality_V2.csv |
process_ecog() |
Processes performance status data | ECOG.csv |
process_medications() |
Processes medication administration records | MedicationAdministration.csv |
process_diagnosis() |
Processes ICD coding information | Diagnosis.csv |
process_labs() |
Processes laboratory test results | Lab.csv |
process_vitals() |
Processes vital signs data | Vitals.csv |
process_insurance() |
Processes insurance information | Insurance.csv |
process_practice() |
Processes practice type data | Practice.csv |
Cancer-specific classes contain additional methods (e.g., process_enhanced() and process_biomarkers()). For a complete list of available methods for each cancer type, refer to the source code or use Python's built-in help functionality:
from flatiron_cleaner import DataProcessorUrothelial
from flatiron_cleaner import DataProcessorUrothelial
from flatiron_cleaner import merge_dataframes
# Initialize class
processor = DataProcessorUrothelial()
# Import dataframe with PatientIDs and index date of interest
df = pd.read_csv('path/to/your/data')
# Load and clean data
cleaned_ecog_df = processor.process_ecog('path/to/your/ECOG.csv',
index_date_df=df,
index_date_column='AdvancedDiagnosisDate',
days_before=30,
days_after=0)
cleaned_medication_df = processor.process_medications('path/to/your/MedicationAdmninistration.csv',
index_date_df=df,
index_date_column='AdvancedDiagnosisDate',
days_before=180,
days_after=0)
# Merge dataframes
merged_data = merge_dataframes(cleaned_ecog_df, cleaned_medication_df)
For a more detailed usage demonstration, see the notebook titled "tutorial" in the example/ directory.
Contributions and feedback are welcome. Contact: xavierorcutt@gmail.com
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.