import pandas as pd

data = {'학교명':['가나고', '다라고', '마바고', '사아고', '자차고'],
        '학급수' : [25, 23, 15, 19, 10],
        '학생수' : [620, 600, 550, 580, 400],
        '교사수' : [80, 95, 70, 90, 65]}

frame = pd.DataFrame(data,index=['01', '02', '03', '04', '05'])
print(frame)

print(frame.loc['02', '학생수'])
print(frame.loc['04', ['학교명', '학급수', '교사수']])