본문 바로가기

Streamlit

(2)
Pandas Profiling 판다스 프로파일링 Streamlit에서 구현하기 Pandas Profiling은 오픈 소스 파이썬 모듈로, 주어진 데이터프레임에 대한 Dataset Info, Variable Types, 변수 간의 관계 등을 자동으로 분석해줍니다. Streamlit에서 Pandas Profiling 기능을 사용할 때는 streamlit-pandas-profiling 패키지를 설치해야 합니다. 설치 pip install streamlit-pandas-profiling 코드 import pandas as pd import pandas_profiling import streamlit as st from streamlit_pandas_profiling import st_profile_report df = pd.read_csv("https://storage.googleapis..
아나콘다(Anaconda)로 스트림릿(Streamlit) 간단하게 설치하기 스트림릿(Streamlit)은 파이썬 기반의 웹 프레임워크입니다. 비교적 간단한 코드로 그래프, 사이드바, 사진 등 UI를 꾸밀 수 있는 것이 큰 장점으로, 특히 머신러닝 모델을 시각화하는 데 자주 사용되고 있습니다. 오늘은 간단한 스트림릿 설치를 함께 진행해보겠습니다. 스트림릿은 아나콘다(Anaconda)를 이용하여 설치하는 것을 권장하고 있습니다. 아나콘다를 설치한 뒤 Anaconda Navigator에서 Create 버튼을 눌러 가상 환경을 만들어줍니다. 임의의 이름으로 설정하면 됩니다. 저는 MachineLearning이라는 이름의 가상 환경을 만들고 녹색 버튼을 눌러 Open Terminal을 클릭하면 cmd 창이 뜹니다. pip install streamlit을 입력하고 설치가 완료될 때까지 ..