Hyunji

Upload new file

1 +# -*- coding: utf-8 -*-
2 +"""data_histogram_splited_dataset.ipynb
3 +
4 +Automatically generated by Colaboratory.
5 +
6 +Original file is located at
7 + https://colab.research.google.com/drive/16Rn0IDJTE6vJMOZtafDAI19AvGD9eK4C
8 +"""
9 +
10 +import pandas as pd
11 +import matplotlib.pyplot as plt
12 +
13 +dftr = pd.read_excel('/content/drive/MyDrive/2d-slice-set-networks-for-brain-age-master/data/train0617.xls', usecols=['Age'])
14 +dftst = pd.read_excel('/content/drive/MyDrive/2d-slice-set-networks-for-brain-age-master/data/test06171.xls', usecols=['Age'])
15 +dfv = pd.read_excel('/content/drive/MyDrive/2d-slice-set-networks-for-brain-age-master/data/valid0617.xls', usecols=['Age'])
16 +
17 +print(dftr.describe())
18 +print(dftst.describe())
19 +print(dfv.describe())
20 +
21 +plt.hist(dftr['Age'])
22 +plt.hist(dftst['Age'])
23 +plt.hist(dfv['Age'])
...\ No newline at end of file ...\ No newline at end of file