Commit 1dda964
Wrap pd.DataFrame index list literals with pd.Index() in core_stats+ax+data_ai
Summary:
Python 3.14 pandas type stubs require explicit `pd.Index()` for the `index`
parameter of `pd.DataFrame.__init__`. Wrap list literals with `pd.Index()`.
Applied via: `buck run fbcode//python/upgrade/codemods:cli -- pandas-dataframe-index`
Backwards compatible — `pd.Index` has been available since early pandas versions.
Reviewed By: drinkmorewaterr
Differential Revision: D96619276
fbshipit-source-id: 8958803314379757bfbeb5b4ac50c91358ea11611 parent 3659190 commit 1dda964
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
0 commit comments