-
Couldn't load subscription status.
- Fork 41
Open
Description
Dear authors,
Please help check the following line:
MCAT/datasets/dataset_survival.py
Line 63 in b9cca63
| if "IDC" in slide_data['oncotree_code']: # must be BRCA (and if so, use only IDCs) |
I have tested the code as follows:
import pandas as pd
import numpy as np
csv_path = 'MCAT_master/datasets_sig_csv/tcga_brca_all_clean.csv.zip'
slide_data = pd.read_csv(csv_path, low_memory=False)
if "IDC" in slide_data['oncotree_code']: # must be BRCA (and if so, use only IDCs)
print('Yes, IDC is in there')
else:
print('No, IDC is not in there')
if "IDC" in slide_data['oncotree_code'].values: # must be BRCA (and if so, use only IDCs)
print('Yes, IDC is in there')
else:
print('No, IDC is not in there')
And the output is as follows:
No, IDC is not in there
Yes, IDC is in there
Is this a bug? My pandas version is 1.4.1. Could you please help check it? Thanks a lot!
Metadata
Metadata
Assignees
Labels
No labels