pandas

2023. 5. 18. 09:42그 외

train_df.iloc[[0]]: 첫번째 행 추출

 

group을 예쁘게 보고싶다면

from IPython.display import display

for name, group in groups:
    display(group)