[해결] 그래프를 통한 기초 데이터 분석 "ValueError: `orient` must start with 'v' or 'h' or be None, but `'V'` was passed."
해결됨
[입문자를 위한] 캐글로 시작하는 머신러닝 • 딥러닝 분석
def plot_bar(data, feature): fig = plt.figure(figsize=(12,3)) sns.barplot(x=feature, y='cnt', data=data, palette='Set3', orient='V') plot_bar(df, 'hour') 선생님이 작성하신대로 치면 ValueError: orient must start with 'v' or 'h' or be None, but 'V' was passed. 가 나옵니다. def plot_bar(data, feature): fig = plt.figure(figsize=(12,3)) sns.barplot(x=feature, y='cnt', data=data, palette='Set3', orient='v') 로 소문자 v로 orient를 잡아야 정상적으로 표가 표출됩니다.
- 머신러닝
- 딥러닝
- kaggle
- 오류수정
곽두일
댓글 0
좋아요 2
조회수 420





