티스토리 뷰
파이썬(Python)&판다스(Pandas)&Polars
[polars] pl.Config(fmt_str_lengths=) 데이터프레임의 글자를 모두 출력
송채채 2023. 12. 12. 20:08https://pola-rs.github.io/polars/py-polars/html/reference/api/polars.Config.set_fmt_str_lengths.html
데이터프레임을 읽어올 때, 글자가 길면 ...으로 생략됨
Config를 설정해주면 된다
import polars as pl
pl.Config(fmt_str_lengths=100) #원하는 문자열 길이만큼 조정
반응형
'파이썬(Python)&판다스(Pandas)&Polars' 카테고리의 다른 글
[Pandas] 두 개의 데이터프레임에서 특정 문자열이 포함된 행 제거하기(~, isin) (2) | 2024.01.04 |
---|---|
[Pandas] 빈 값(NaN, None)에 원하는 값 채우기(pd.where) (0) | 2024.01.03 |
[Python] 변수명을 for문으로 할당하기 - globals() (0) | 2023.11.21 |
[polars] 특정 조건을 만족하는 데이터 조회(df.filter) (2) | 2023.11.21 |
[polars] 셀 안의 문자열 또는 리스트 값 모두 보이게 출력(polars.Config.set_fmt_str_lengths, max_colwidth) (0) | 2023.11.21 |
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- knowledgegraph
- ChatGPT
- LLM
- pandas
- knowlegegraph
- MongoDB
- rdflib
- p-tuing
- difflib
- TextRank
- vervel
- cursorai
- Postgis
- pdfmathtranslate
- hadoop
- Vue3
- PostgreSQL
- vscode
- 지식그래프임베딩
- Encoding
- writerow
- psycopg
- 키워드추출
- SPARQL
- 지식그래프
- python
- polars
- python'
- Claude
- PEFT
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함