2015-01-06 4 views
0

:(문서) 나는 오류 얻을 <a href="http://pandas.pydata.org/pandas-docs/stable/visualization.html#basic-plotting-plot" rel="nofollow">http://pandas.pydata.org/pandas-docs/stable/visualization.html#basic-plotting-plot</a>에서 팬더의 문서를 통해 이동하려고

NameError: name 'Series' is not defined 

내가 팬더와 공급 'pandas.Series'을 가져올 수 있습니다,하지만 난 방법을 알고 싶어요 문서에있는대로 노트북을 설정하여 이미 포함되어 있는지 확인하십시오.

답변

0

당신은 Ipython 노트북 프로필 파일 일반적으로 같은 추가하여 ~/.ipython/profile_default /에있는 ipython_config.py 사용자 정의 할 수 있습니다

c.InteractiveShellApp.exec_lines = [ 
    'import pandas', 
] 

을 당신은 ipython의 문서를 읽을 수있는 최신 버전을 here

+0

어떤 유형의 파일이어야합니까? 아니면 .../profile_default에있는 기존 파일에 추가합니까? – frogleaf

+0

보통 집에서 .ipython/profile_default 디렉토리에 있습니다. –

+0

감사합니다. 파일을 찾았습니다. 이제는 'pandas.Series'를 말하지 않고 '시리즈'를 사용하는 방법을 알아낼 것입니다.하지만 쉽게 찾을 수있을 것이라고 확신합니다. – frogleaf