Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

flatiron-cleaner

Latest version: v0.1.23

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: xorcutt
1 Stars
0 Forks
8 Versions
623 Downloads
Python Repo language

Scan summary

flatiron-cleaner was last scanned on 26 Nov 2026 at version 0.1.23. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest 5 were published within 2 days (25 and 26 Nov 2026).
  • Findings: No rules fired in version 0.1.23.
  • Downloads: 623 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.1.23

Findings

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.

README

The publisher’s own README, as collected from the registry.

flatiron-cleaner

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:

  • Providing a modular architecture that allows researchers to select which Flatiron files to process
  • Converting long-format dataframes into wide-format dataframes with unique PatientIDs per row
  • Ensuring appropriate data types for predictive modeling and statistical analysis
  • Standardizing data cleaning around a user-specified index date, such as metastatic diagnosis or treatment initiation
  • Engineering clinically relevant variables for analysis

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.

Installation

Built and tested in python 3.13.

pip install flatiron-cleaner 

Available Processors

Cancer-Specific Processors

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
General Processor

For cancer types without a dedicated processor, DataProcessorGeneral is available with standard methods.

Processing Methods

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 Methods

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

Usage Example

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.

Contact

Contributions and feedback are welcome. Contact: xavierorcutt@gmail.com

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases flatiron-cleaner

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229