Brain Cancer Data

Contents

Brain Cancer Data#

A data set consisting of survival times for patients diagnosed with brain cancer.

  • sex: Factor with levels “Female” and “Male”

  • diagnosis: Factor with levels “Meningioma”, “LG glioma”, “HG glioma”, and “Other”.

  • loc: Location factor with levels “Infratentorial” and “Supratentorial”.

  • ki: Karnofsky index.

  • gtv: Gross tumor volume, in cubic centimeters.

  • stereo: Stereotactic method factor with levels “SRS” and “SRT”.

  • status: Whether the patient is still alive at the end of the study: 0=Yes, 1=No.

  • time: Survival time, in months

Source#

from ISLP import load_data
BrainCancer = load_data('BrainCancer')
BrainCancer.columns
Index(['sex', 'diagnosis', 'loc', 'ki', 'gtv', 'stereo', 'status', 'time'], dtype='object')
BrainCancer.shape
(88, 8)
BrainCancer.columns
Index(['sex', 'diagnosis', 'loc', 'ki', 'gtv', 'stereo', 'status', 'time'], dtype='object')
BrainCancer.describe()
ki gtv status time
count 88.000000 88.000000 88.000000 88.000000
mean 81.022727 8.660795 0.397727 27.457500
std 10.508866 8.657576 0.492233 20.124412
min 40.000000 0.010000 0.000000 0.070000
25% 80.000000 2.500000 0.000000 10.392500
50% 80.000000 6.510000 0.000000 24.030000
75% 90.000000 12.100000 1.000000 41.597500
max 100.000000 34.640000 1.000000 82.560000
BrainCancer['diagnosis'].value_counts()
diagnosis
Meningioma    42
HG glioma     22
Other         14
LG glioma      9
Name: count, dtype: int64