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
- 맛집
- swift
- ASP
- pandas
- Linux
- node.js
- 함수
- Excel
- PyQt
- port
- 라즈베리파이
- urllib
- mssql
- 다이어트
- 리눅스
- javascript
- MySQL
- 유니티
- python
- tensorflow
- sqlite
- flutter
- MS-SQL
- ubuntu
- Unity
- PyQt5
- 날짜
- PER
- GIT
- IOS
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