전체 글
-
-
python 예제 파일, president_heights.csv카테고리 없음 2021. 2. 24. 12:39
python data science handbook president heights.csv president_heights.csv 코드에서 사용시 예 다운로드후 c:\에 파일을 저장한경우 data = pd.read_csv('c:\president_heights.csv') 링크가 안되면 다운로드 후 사용. data = pd.read_csv(' 파일경로를 넣어주면 됩니다. ') president_heights.csv
-
Python raw_input 명령 안될때 name 'raw_input' is not definedAI Python/Python 2020. 10. 31. 22:28
Python raw_input 은 python 3.X 버전에서는 없어진 명령어라고 합니다. raw_input 대신 input 명령만 사용하시면 됩니다. 파이썬 문서 영문 https://www.python.org/doc/ 파이썬 문서 한국어 https://docs.python.org/ko/3/index.html PDF 문서 다운로드 영문 https://docs.python.org/3/download.html def aaa(): mm1=input(" 너는 누구냐? : ") mm2=input(" 나이는 ? : ") mm3=input(" oo : ") aaa() raw_input을 사용한 경우 에러 메시지 def aaa(): mm1=raw_input(" 너는 누구냐? : ") m..
-
파이썬 NameError: name is not defined 에러 해석AI Python/Python 2020. 10. 31. 22:24
파이썬 NameError: name is not defined 에러 해석 파이썬 코딩시 발생하는 오류들을 정리해 봤습니다. 책들은 기초부분을 빼고 작성하기에 이해가 어려울때가 있네요. numpy명령을 기준으로 작성했습니다. 파이썬 코딩시 오타등등 에러 메시지가 나타날때 복잡하고 해석하기 힘들때가 있습니다. 우선 가장많이 발생하는 NameError: name is not defined 부분에 대해서 작성을 해보겠습니다. 파이썬 name is not defined 에러는 4가지 종류가 있습니다. 오타 확인 및 수정 NameError: name 'nunpy' is not defined (numpy 입니다.) 사용하려는 명령어 설치가 필요한경우 사용하려는 명령어를 약자로 사용하는 경우. import 명령..
-
초보자를 위한 python 도우미AI Python/Python 2020. 10. 31. 22:17
점프투 파이썬 책은 박응용 이란 분이 만드신 책이고 초보자가 보면 도움이 많이 됩니다. 거의 필독 도서라고 하시는군요. 다른 책보다 먼저 보는걸 추천 드립니다. 책으로 사서 볼수도 있고 온라인에서 보면서 하실수 있습니다. e-book은 5000 책은 18,800 온라은 무료입니다. 온라인 페이지는 아래 링크 입니다. https://wikidocs.net/book/1 ++++++++++++++++++++++++++++++++++++ 초보자를 위한 python 도우미 https://lcj8390.tistory.com/85 초보자용 필독도서 점프투파이썬 https://wikidocs.net/book/1 Python install 설치 방법 lcj8390.tistory.com/80 Python pip i..
-
Python Jupyter notebook 사용방법 주피터노트북 사용법 2AI Python/Python 2020. 10. 31. 22:14
++++++++++++++++++++++++++++++++++++ 초보자를 위한 python 도우미 https://lcj8390.tistory.com/85 초보자용 필독도서 점프투파이썬 https://wikidocs.net/book/1 Python install 설치 방법 lcj8390.tistory.com/80 Python pip install 사용방법, 필수 라이브러리와 도구 설치 lcj8390.tistory.com/81 Python Jupyter notebook 사용방법 주피터노트북 사용법 1 https://lcj8390.tistory.com/83 Python Jupyter notebook 사용방법 주피터노트북 사용법 2 https://lcj8390.tistory.com/84 파이썬 NameErro..
-
Python Jupyter notebook 사용방법 주피터노트북 사용법 1AI Python/Python 2020. 10. 31. 22:02
++++++++++++++++++++++++++++++++++++ 초보자를 위한 python 도우미 https://lcj8390.tistory.com/85 초보자용 필독도서 점프투파이썬 https://wikidocs.net/book/1 Python install 설치 방법 lcj8390.tistory.com/80 Python pip install 사용방법, 필수 라이브러리와 도구 설치 lcj8390.tistory.com/81 Python Jupyter notebook 사용방법 주피터노트북 사용법 1 https://lcj8390.tistory.com/83 Python Jupyter notebook 사용방법 주피터노트북 사용법 2 https://lcj8390.tistory.com/84 파이썬 NameErro..