샘플
Chained assignment discards mutations while text columns default to object dtype and fallback to python storage without pyarrow
sha256:5b203a9e6192c6686bbbd1529e7f7bb5434622bb6f964dc64a9b4f53cc9f5c4e
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Chained assignment discards mutations while text columns default to object dtype and fallback to python storage without pyarrow HOW
- 패키지
- pandas 2.3.3
- 환경
- python
- 생성일
- 2026-08-15T02:48:25Z
컨트랙트
- assert df[df['a'] > 1]['b'] = 99 warns SettingWithCopyWarning and leaves df['b'] unmodified
- assert under copy_on_write df['b'][0] = 99 warns ChainedAssignmentError and leaves df.loc[0, 'b'] unmodified
- assert df['text'].dtype == object and df['text'].dtype != 'string'
- assert pd.Series(['a'], dtype='string').dtype.storage == 'python'
- assert pd.Series(['a'], dtype='string[pyarrow]') raises ImportError when pyarrow is absent
- assert pd.Series(['a', None], dtype='string').iloc[1] is pd.NA
파일
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- test/contract.py
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-15 · ed25519:ac1544ece1e22594