Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- javascript
- swift
- PER
- 리눅스
- 함수
- Excel
- IOS
- port
- node.js
- 라즈베리파이
- PyQt
- python
- 유니티
- 날짜
- 맛집
- sqlite
- mssql
- MS-SQL
- ubuntu
- ASP
- 다이어트
- flutter
- Unity
- GIT
- tensorflow
- Linux
- pandas
- urllib
- PyQt5
- MySQL
Archives
목록2025/07/30 (1)
아미(아름다운미소)
dataframe 타입지정
def process_dataframe_optimized(dict_df_types, df): type_handlers = { 'int': lambda s: pd.to_numeric(s, errors='coerce').fillna(0).astype('int32'), 'float': lambda s: pd.to_numeric(s, errors='coerce').fillna(0).astype('float32'), 'bool': lambda s: s.astype(str).str.lower().isin(['true', 't', '1']), 'datetime': lambda s: pd.to_datetime(s, errors='coerce'), 's..
랭귀지/pandas
2025. 7. 30. 17:50