안녕하세요 작업형2에서 EDA하고 바로 target = train.pop('TravelInsurance') train = pd.get_dummies(train) test = pd.get_dummies(test) 이렇게 작업하면 안되는건가요? 실행하면 target줄에 오류가 떠서요,, 데이터분리하고 합치고 스케일링 하는 부분은 아무리 봐도 이해가 안 가서 필수로 해야되는 것만 하고싶어서요ㅜㅜ 책에서도 거의 target에 넣고 바로 인코딩 하더라구요,,
학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! 질문과 관련된 영상 위치를 알려주면 더 빠르게 답변할 수 있어요 먼저 유사한 질문이 있었는지 검색해보세요 문제번 컬럼삭제 시 df=df.drop(cols, axis=1) 을 사용한다고 하였는데, df=df.dropna(cols, axis=1)를 사용하면 에러가 나네요. drop과 dropna는 어떤 경우 사용하는 건지 궁금해요. 파이썬 완전 초보라... 너무 기초적인 부분을 질문하는 것 같아 죄송스럽네요.. 열심히 따라하고 있는 중입니다ㅠ
강의영상 - 자주 활용되는 판다스 예제 - 내장함수 백분위수, 하위 25%값 test = df['가격'].describe() test test.iloc['25%', '가격'] 한번 해봤는데 에러네요. 아직 series에 대한 이해가 부족해서...ㅠㅠ 강의 감사히 보고 있습니다.^^
데이터 전처리 강의 14:50 관련하여, X_train['workclass']의 최빈값과 X_test['workclass']의 최빈값이 달라질 수 있는데 train 데이터와 test 데이터를 서로 다른 최빈값으로 결측치를 채워도 되나요? 제 생각에는 train과 test를 합쳐서 최빈값을 찾고, 그값으로 결측치를 채워야 하지 않나 싶습니다.
python setup.py install 부터 오류가 발생했던 것 같습니다. c:\robobytes>python setup.py install . . . byte-compiling build\bdist.win-amd64\egg\binance_f\model\symbolorderbook.py to symbolorderbook.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\model\symbolprice.py to symbolprice.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\model\symboltickerevent.py to symboltickerevent.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\model\takerbuysellratio.py to takerbuysellratio.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\model\tickerpricechangestatistics.py to tickerpricechangestatistics.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\model\trade.py to trade.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\model\__init__.py to init .cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\requestclient.py to requestclient.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\subscriptionclient.py to subscriptionclient.cpython-37.pyc byte-compiling build\bdist.win-amd64\egg\binance_f\__init__.py to init .cpython-37.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying binance_futures.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying binance_futures.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying binance_futures.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO copying binance_futures.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO copying binance_futures.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO zip_safe flag not set; analyzing archive contents... creating 'dist\binance_futures-1.1.0-py3.7.egg' and adding 'build\bdist.win-amd64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing binance_futures-1.1.0-py3.7.egg Removing c:\python377\lib\site-packages\binance_futures-1.1.0-py3.7.egg Copying binance_futures-1.1.0-py3.7.egg to c:\python377\lib\site-packages binance-futures 1.1.0 is already the active version in easy-install.pth Installed c:\python377\lib\site-packages\binance_futures-1.1.0-py3.7.egg Processing dependencies for binance-futures==1.1.0 error: tzlocal 2.1 is installed but tzlocal>=3.0 is required by {'apscheduler'}