강의

멘토링

커뮤니티

Inflearn Community Q&A

babelai's profile image
babelai

asked

[For Beginners] Machine Learning with Kaggle • Deep Learning Analysis

Basic data analysis through graphs

[해결] 그래프를 통한 기초 데이터 분석 boxplot 에러 코드 수정

Resolved

Written on

·

813

3

a, b = plt.subplots(1,1, figsize=(10, 5))

sns.boxplot(df['year'], df['cnt'])

을 작성시

TypeError: boxplot() takes from 0 to 1 positional arguments but 2 were given

 

이라고 나오네요.

 

sns.boxplot(x=df['year'], y=df['cnt'])

으로 해야 강의영상 그래프처럼 표시가 됩니다.

머신러닝딥러닝kaggle

Answer

This question is waiting for answers
Be the first to answer!
babelai's profile image
babelai

asked

Ask a question