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