Skip to main content

🎓 Jussam Data Helper

Python Version License: MIT PyPI version

jussam은 학습용 샘플 데이터셋을 키(key) 하나로 간편하게 불러오기 위한 데이터 헬퍼 라이브러리입니다.

연세대학교 주영아 교수의 머신러닝 및 데이터 분석 수업을 위해 개발되었습니다.

✨ 주요 특징

  • 📦 원클릭 데이터 로드: 데이터셋 키만으로 원격(또는 로컬) 데이터셋을 즉시 DataFrame으로 로드
  • 🗂️ 다양한 포맷 지원: CSV, Excel(xlsx/xls), Parquet, JSON, Shapefile(shp), ZIP 압축 파일
  • 📝 메타데이터 출력: 로드 시 데이터 설명과 필드 정보를 표 형태로 함께 표시

📦 설치

pip install --upgrade jussam

요구사항: Python 3.11 이상

🚀 사용법

데이터 로드

import jussam

# 메타데이터에 정의된 키로 데이터셋 로드 (설명/메타정보가 함께 출력됩니다)
df = jussam.load_data("AD_SALES")
df.head()

load_data의 시그니처는 다음과 같습니다.

load_data(key: str, local: str | None = None, view_url: bool = False) -> DataFrame | None
매개변수 설명
key 메타데이터에 정의된 데이터 식별자(파일명 또는 별칭)
local 로컬 메타데이터 경로. None이면 원격 저장소를 사용합니다.
view_url True이면 데이터의 실제 URL을 함께 출력합니다.
# 데이터 URL도 함께 확인
df = jussam.load_data("AD_SALES", view_url=True)

# 로컬 metadata.json 경로를 사용
df = jussam.load_data("AD_SALES", local="./data")

표 출력 유틸리티

my_util 서브모듈은 DataFrame을 보기 좋게 출력하는 헬퍼를 제공합니다.

from jussam import my_util
from pandas import DataFrame

my_util.pretty_table(DataFrame({"a": [1, 2], "b": [3, 4]}))

📬 문의

📄 라이선스

이 프로젝트는 MIT 라이선스를 따릅니다. 자유롭게 사용, 수정, 배포할 수 있습니다.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jussam-0.5.19.tar.gz (24.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jussam-0.5.19-py3-none-any.whl (24.1 MB view details)

Uploaded Python 3

File details

Details for the file jussam-0.5.19.tar.gz.

File metadata

  • Download URL: jussam-0.5.19.tar.gz
  • Upload date:
  • Size: 24.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jussam-0.5.19.tar.gz
Algorithm Hash digest
SHA256 6f4d81797951a9a442f26ffbf04c3844b5a669a21bd7f809efd96d03962394ef
MD5 dcd6fb3505e896bcbda89948142ff2ba
BLAKE2b-256 3383283532870b7803bced185d50b0be938ed1e45c7922fee50a5e1d7ad17521

See more details on using hashes here.

File details

Details for the file jussam-0.5.19-py3-none-any.whl.

File metadata

  • Download URL: jussam-0.5.19-py3-none-any.whl
  • Upload date:
  • Size: 24.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for jussam-0.5.19-py3-none-any.whl
Algorithm Hash digest
SHA256 73a26cd16eb879466ab88fd2c917603729a2461407dc0e4549429b08b969508b
MD5 ce7e537d48f21c7165a54aaf244b294b
BLAKE2b-256 b52af55c666b7e42ff2f2bcc0069033dbc48661c53e3da789280cfdbbc4ecb54

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.20

2 files

This release

0.5.19 This release

2 files

0.5.18

2 files

0.5.17

2 files

0.5.16

2 files

0.5.15

2 files

0.5.14

2 files

0.5.13

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page