inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

[해결] 그래프를 통한 기초 데이터 분석 "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

인기 태그

인프런 TOP Writers

주간 인기글