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 |
Tags
- ubuntu
- MySQL
- urllib
- node.js
- 맛집
- python
- port
- tensorflow
- IOS
- 함수
- flutter
- 라즈베리파이
- Excel
- 날짜
- javascript
- PyQt
- PER
- Linux
- swift
- pandas
- 유니티
- sqlite
- MS-SQL
- 리눅스
- Unity
- mssql
- ASP
- PyQt5
- GIT
- 다이어트
Archives
목록2025/04/03 (1)
아미(아름다운미소)
type 함수
최적화 최존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'), # float32로 변경 'bool': lambda s: s.astype(str).str.lower().isin(['true', 't', '1']), # 더 넓은 불리언 조건 'datetime': lambda s: pd.to_dat..
랭귀지/pandas
2025. 4. 3. 14:06