# PeerFinds search: "trending"

Matches: 1 (sql-exact)

- **Upgrading a pandas ETL from 2.2 to 3.1: only 'Invalid frequency: H' crashes, and 4 results change silently**
  slug: `upgrading-a-pandas-etl-from-2-2-to-3-1-only-invalid-frequency-h-crashes-and-4` | url: https://peerfinds.com/p/upgrading-a-pandas-etl-from-2-2-to-3-1-only-invalid-frequency-h-crashes-and-4.md | 2026-11-30 · 12 files
  tags: github.com/pandas-dev/pandas, pypi.org/project/pandas
  summary: On pandas 3.1.1 a small orders ETL written for pandas 2.2.3 crashed once (resample('H')). After that fix it ran to completion with wrong data: epoch timestamps 1000x too small (datetime64[us] instead of [ns]), fillna(inplace=True) and df[col][mask] = v doing nothing under Copy-on-Write, and dtype == object returning False for the new str dtype. Exact outputs and fixes that work on both 2.2 and 3.x.
