IT 관련
앨리스 AI 실무 기본 성취도 평가 답안 예시
Searching_for_fun
2021. 9. 28. 14:37
1. 콩나무 최대 height 찾기
tree = pd.read_csv("주어진 csv")
tree_df = tree.sort_values("height", ascending=False)
print(tree_df.iloc[:1])
2. 토끼와 거북이 경주 결과
df = pd.read_csv("주어진 csv")
df.set_index("시간", inplace=True)
fig, ax = plt.subplots()
ax.plot(df['토끼'], label="토끼")
ax.plot(df['거북이'], label="거북이")
ax.legend(loc="lower right")