You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if"IDC"inslide_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!
The text was updated successfully, but these errors were encountered:
Dear authors,
Please help check the following line:
MCAT/datasets/dataset_survival.py
Line 63 in b9cca63
I have tested the code as follows:
And the output is as follows:
Is this a bug? My pandas version is
1.4.1
. Could you please help check it? Thanks a lot!The text was updated successfully, but these errors were encountered: