66,000원
다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
shift tab 으로 도움말이 안나타납니다 ㅜ
안녕하세요 shift tab 으로 도움말이 안나타납니다. 아래 답변주신 내용중에 ? 후 코드 실행후 다시 해보면 될거라는 답변을 해주셔서 그대로 해봤는데도 되지 않습니다. 혹시 다른 방법이 있을까요?
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
5번챕터 판다스프로파일링 업데이트 관련
안녕하세요챕터5 도시공원관련 강의 학습중인데요판다스 프로파일링 설치 및 폰트 변경완료 하였는데 하기와 같은 에러가 계속 발생하고 있습니다.강의 내용대로 동일하게 하였는데 전혀다른 내용의 에러가 발생하여 이부분 문의드립니다. -- 에러내용PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.4/u/import-error확인부탁드립니다.
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
상가상권정보 파일 부재
안녕하세요 상가정보데이터셋 처음부분 보고 있는데공유된 링크에서 다운받으려고 보니 데이터셋이 "_01.csv"밖에 없습니다. (영상에는 4개의 파일이 있어야함)공공데이터포털로 직접 들어가서 찾아보니 2019년 12월 데이터가 보이지 않아 문의드립니다.
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
swarmplot 에러발생 도와주세요~
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 좋은강의 감사드립니다.19강에서 연도별 평당분양가격 swarmplot그리는 코드실행시 오류가 발생합니다. 어떻게 해결하면 될까요. <에러>ValueError: cannot reindex on an axis with duplicate labels <코드># 연도별 평당분양가격 swarmplot 그리기plt.figure(figsize=(12,3))sns.swarmplot(data=df, x="연도", y="평당분양가격", hue='지역명')plt.legend(bbox_to_anchor=(1.02,1), loc=2, borderaxespad=0.)
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
shift + tab 눌러도 아무 반응이 없습니다.
Nbextensions 에서 뭔가 추가를 해줘야 하는건가요?
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
nb extensions의 table of contents 오류 문의
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.안녕하세요 강사님, nbextensions 설치하여 Files - Running - Clusters 옆 탭에 정상적으로 nbextensions가 표기되긴 합니다만, 문서 내 contents 탭을 누르면 흰색 공간만 뜨고 안에 목차가 표시되지 않습니다. 해결방법을 찾고 싶습니다.(혹시) 아래 두 번째 이미지의 노란 박스 내용이 여러 버전의 파일이 설치되어 있어 정상적으로 작동하지 않을 수 있다는 메시지 같은데, 아나콘다 터미널에서 해봤는데 되지 않아서, 쥬피터 문서에서도 돌려봤었는데요. 이것과 연관이 있는 걸까요?위 이슈가 아니더라도, 해결방법 아시면 답글 부탁드리겠습니다.
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
(해결) Unexpected Character
해결완료해당 사진에서font_path 에서 Windows 앞글자를 소문자로 해서 났던 오류인가 싶습니다 (당시에는 대소문자 관게없이 같은 오류가 났어요) 검색해보니 워드클라우드에서 지원하는 폰트가 있고 아닌 폰트가 있다는것 같더라고요font_path='malgun' 라고 써주거나 기본폰트중 하나인 'HY동녘M 보통'을 사용하여 font_path="C:\Windows\Fonts\HYDNKM.TTF"라고 써주니 해결되었습니다
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
(수정) Seaborn으로 히트맵 그릴 때 문제해결 공유합니다
sns.heatmap에서 100 이상의 수가 깨지는 현상이 발생합니다해결방법year_month_new = year_month.round(0).astype(int)sns.heatmap(data=year_month_new, cmap="Blues", annot=True, fmt="d")
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
(해결완료)아나콘다 재설치후 missingno 작동이 안됩니다
(해결책)아나콘다 재설치시마지막 체크박스에 이전 설정기록을 다 삭제하도록 꼭 체크하셔야 아나콘다 재설치 후에 탈이 없습니다!! 어제 질문드린 판다스 프로파일링 문제를 겪으면서 아나콘다를 두어번 재설치하는 과정에서 missingno까지 꼬여버린 것 같습니다프롬프트 관리자 환경에서 설치를 마쳤음에도 missingno 실행이 안됩니다..2번째 수업(missingno를 처음 다뤘던 수업)에서 했던 파일을 돌려보아도 마찬가지입니다 일단은 프로파일링과 미싱노를 건너띄고 수업을 진행할 예정입니다!!
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
판다스 프로파일링 호출이 안됩니다
해당 주소에 판다스 프로파일링이 버전별로 있는데 첨부한 코드와 같이 오류가 납니다..다른분들의 질문글을 읽어보고 판다스 버전도 바꿔보고 프로파일링 버전도 바꿔보고, 아나콘다 재설치도 두어번 해봤는데 도저히 해결책을 못찾겠어요..(아나콘다 재설치 과정에서 주피터와 프롬프트가 사라지기도 해서 애를 많이 먹었습니다ㅠㅠ) ipynb 파일https://drive.google.com/file/d/1bd4wdrlwevN5FneKN_fWRrDkl2q8zniY/view?usp=sharingbase.pyhttps://drive.google.com/file/d/1GcxiAhg_XTW2V5h35fnEkxmZQCYIx1YJ/view?usp=sharing
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
지도가 갑자기 까맣게 칠해집니다..
안녕하세요 9/9강 1분20초까지 따라하던 중에 지도가 까맣게 칠해지는데 이유를 못찾겠습니다바로 이전에 그린 지도에서는 아무 문제가 없습니다 df_vs를 output 소스코드와 비교해봐도 이상이 없습니다 그런데 갑자기 지도의 일부가 까맣게 칠해지네요..40분간 검수하고 다시 돌려보고 선생님 소스코드를 붙여넣기 해봐도 원인을 찾지 못해 질문드립니다 https://drive.google.com/file/d/1XH-qxc1iBOmgBE9UXCMSgzxMYxle0oqp/view?usp=drive_link파일의 04.스벅_이디야 파일을 봐주시면 됩니다
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
강의
코렙에서 해도 괜찮나요?
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
2023 버전
새로 출시된 버전으로 사용해도 문제 없나요?
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
[17/20] 5:30~ concat 오류
합치기 전 데이터프레임이 강의와 같이 잘 완성되었는데concat에서 오류가 납니다한번 봐주세요!!!
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
Swarmplot 에러
강의 회차 : [20/20] 지역별 분양가를 시각화하고 정리하기 질문 : 마지막 시각화 단계에서, boxplot, boxenplot, violinplot 다 잘 구현되는데 swarmplot만 계속 에러가 납니다. 구글에서 에러메시지 검색도 해 봤는데, 잘 해결이 안되네요.. 확인해 주실 수 있으신가요.* 에러메시지도 함께 첨부드립니다.--------------------------------------------------------------------------- ValueError Traceback (most recent call last) Cell In[307], line 2 1 plt.figure(figsize=(24, 7)) ----> 2 sns.swarmplot(df, x='지역명', y='평당분양가격') File ~/anaconda3/lib/python3.10/site-packages/seaborn/categorical.py:2664, in swarmplot(data, x, y, hue, order, hue_order, dodge, orient, color, palette, size, edgecolor, linewidth, hue_norm, native_scale, formatter, legend, warn_thresh, ax, **kwargs) 2657 linewidth = size / 10 2659 kwargs.update(dict( 2660 s=size ** 2, 2661 linewidth=linewidth, 2662 )) -> 2664 p.plot_swarms( 2665 dodge=dodge, 2666 color=color, 2667 edgecolor=edgecolor, 2668 warn_thresh=warn_thresh, 2669 plot_kws=kwargs, 2670 ) 2672 p._add_axis_labels(ax) 2673 p._adjust_cat_axis(ax, axis=p.cat_axis) File ~/anaconda3/lib/python3.10/site-packages/seaborn/categorical.py:330, in _CategoricalPlotterNew.plot_swarms(self, dodge, color, edgecolor, warn_thresh, plot_kws) 321 def plot_swarms( 322 self, 323 dodge, (...) 327 plot_kws, 328 ): --> 330 width = .8 * self._native_width 331 offsets = self._nested_offsets(width, dodge) 333 iter_vars = [self.cat_axis] File ~/anaconda3/lib/python3.10/site-packages/seaborn/categorical.py:229, in _CategoricalPlotterNew._native_width(self) 226 @property 227 def _native_width(self): 228 """Return unit of width separating categories on native numeric scale.""" --> 229 unique_values = np.unique(self.comp_data[self.cat_axis]) 230 if len(unique_values) > 1: 231 native_width = np.nanmin(np.diff(unique_values)) File ~/anaconda3/lib/python3.10/site-packages/seaborn/_oldcore.py:1134, in VectorPlotter.comp_data(self) 1132 else: 1133 comp_col = pd.Series(dtype=float, name=var) -> 1134 comp_data.insert(0, var, comp_col) 1136 self._comp_data = comp_data 1138 return self._comp_data File ~/anaconda3/lib/python3.10/site-packages/pandas/core/frame.py:4786, in DataFrame.insert(self, loc, column, value, allow_duplicates) 4783 if not isinstance(loc, int): 4784 raise TypeError("loc must be int") -> 4786 value = self._sanitize_column(value) 4787 self._mgr.insert(loc, column, value) File ~/anaconda3/lib/python3.10/site-packages/pandas/core/frame.py:4877, in DataFrame._sanitize_column(self, value) 4875 return _reindex_for_setitem(value, self.index) 4876 elif is_dict_like(value): -> 4877 return _reindex_for_setitem(Series(value), self.index) 4879 if is_list_like(value): 4880 com.require_length_match(value, self.index) File ~/anaconda3/lib/python3.10/site-packages/pandas/core/frame.py:11620, in _reindex_for_setitem(value, index) 11616 except ValueError as err: 11617 # raised in MultiIndex.from_tuples, see test_insert_error_msmgs 11618 if not value.index.is_unique: 11619 # duplicate axis > 11620 raise err 11622 raise TypeError( 11623 "incompatible index of inserted column with frame index" 11624 ) from err 11625 return reindexed_value File ~/anaconda3/lib/python3.10/site-packages/pandas/core/frame.py:11615, in _reindex_for_setitem(value, index) 11613 # GH#4107 11614 try: > 11615 reindexed_value = value.reindex(index)._values 11616 except ValueError as err: 11617 # raised in MultiIndex.from_tuples, see test_insert_error_msmgs 11618 if not value.index.is_unique: 11619 # duplicate axis File ~/anaconda3/lib/python3.10/site-packages/pandas/core/series.py:4914, in Series.reindex(self, index, axis, method, copy, level, fill_value, limit, tolerance) 4897 @doc( 4898 NDFrame.reindex, # type: ignore[has-type] 4899 klass=_shared_doc_kwargs["klass"], (...) 4912 tolerance=None, 4913 ) -> Series: -> 4914 return super().reindex( 4915 index=index, 4916 method=method, 4917 copy=copy, 4918 level=level, 4919 fill_value=fill_value, 4920 limit=limit, 4921 tolerance=tolerance, 4922 ) File ~/anaconda3/lib/python3.10/site-packages/pandas/core/generic.py:5360, in NDFrame.reindex(self, labels, index, columns, axis, method, copy, level, fill_value, limit, tolerance) 5357 return self._reindex_multi(axes, copy, fill_value) 5359 # perform the reindex on the axes -> 5360 return self._reindex_axes( 5361 axes, level, limit, tolerance, method, fill_value, copy 5362 ).__finalize__(self, method="reindex") File ~/anaconda3/lib/python3.10/site-packages/pandas/core/generic.py:5375, in NDFrame._reindex_axes(self, axes, level, limit, tolerance, method, fill_value, copy) 5372 continue 5374 ax = self._get_axis(a) -> 5375 new_index, indexer = ax.reindex( 5376 labels, level=level, limit=limit, tolerance=tolerance, method=method 5377 ) 5379 axis = self._get_axis_number(a) 5380 obj = obj._reindex_with_indexers( 5381 {axis: [new_index, indexer]}, 5382 fill_value=fill_value, 5383 copy=copy, 5384 allow_dups=False, 5385 ) File ~/anaconda3/lib/python3.10/site-packages/pandas/core/indexes/base.py:4274, in Index.reindex(self, target, method, level, limit, tolerance) 4271 raise ValueError("cannot handle a non-unique multi-index!") 4272 elif not self.is_unique: 4273 # GH#42568 -> 4274 raise ValueError("cannot reindex on an axis with duplicate labels") 4275 else: 4276 indexer, _ = self.get_indexer_non_unique(target) ValueError: cannot reindex on an axis with duplicate labels
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
replot 질문
seaborn 의 retplot으로 서브플롯을 그리는 연습하는데 x축과 y축의 작은 그래프마다 label?을 다 달고싶은데가장 왼쪽과 아래에만 범주가 나오는데 이전 질분을 보니까 sharex나 sharey라는 옵셥을 사용하라고 답변을 다셨는데 이제는 사용이 안되는거 같습니다..ㅜㅜ이제는 어떤식으로해야하나요?
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
pandas profiling 한글폰트
강사님 안녕하세요.pandas profiling 한글폰트 관련 질문이 있습니다. pandas profiling 결과에 한글이 출력은 되는데, 딱 interactions, correlations, missing values 이 3곳만 네모박스로 뜹니다. 영상보고 소스코드 3군데 수정완료한 상태입니다. 추가로 무엇을 수정해야 할 지 질문드립니다.
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
경로로 들어가도 해당파일로 진입이 안되서 수정이 불가합니다 ㅜㅜ
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. pandas profiling 한글 폰트 수정을 위해서 경로로 이렇게 가도 해당 파일이 열리지가 않습니다 ㅜㅜ 어떤방법을 사용해야하나요?
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
아나콘다 설치 오류
안녕하세요! 아나콘다 다운로드 후 설치를 할 때, 현재 컴퓨터 이름이 한글이라서 All Users 로 설치를 시도했지만 이런 오류가 뜨는데, 파일 경로를 바꿔봐도 똑같은 오류가 뜹니다 ㅜㅜ 어떻게 해야할까요...ㅜㅜ
- 미해결공공데이터로 파이썬 데이터 분석 시작하기
jupyter notebook에서 python3를 생성하니 prompt가 꺼져요
jupyter 화면에서 새로 Python3를 생성하려니 밑에 처럼 Python 3 뒤에 (ipykernel)이 붙고 생성을 하니 bad file descriptor라고 뜨면서 jupyter notebook 검은색 창이 자동으로 꺼집니다.어떻게 해야하나요?