|
1 | 1 | # Release History |
2 | 2 |
|
3 | | -## 1.41.0 (YYYY-MM-DD) |
| 3 | +## 1.42.0 (YYYY-MM-DD) |
| 4 | + |
| 5 | +### Snowpark Python API Updates |
| 6 | + |
| 7 | +#### New Features |
| 8 | + |
| 9 | +- Added support for `Session.udf_profiler`. |
| 10 | + |
| 11 | +#### Improvements |
| 12 | + |
| 13 | +- Catalog API now uses SQL commands instead of SnowAPI calls. This new implementation is more reliable now. |
| 14 | + |
| 15 | +### Snowpark pandas API Updates |
| 16 | + |
| 17 | +#### New Features |
| 18 | + |
| 19 | +- Added support for `Dataframe.groupby.rolling()`. |
| 20 | +- Added support for mapping `np.percentile` with DataFrame and Series inputs to `Series.quantile`. |
| 21 | + |
| 22 | +#### Bug Fixes |
| 23 | + |
| 24 | +- Fixed a bug in `DataFrameGroupBy.agg` where func is a list of tuples used to set the names of the output columns. |
| 25 | + |
| 26 | +#### Improvements |
| 27 | + |
| 28 | +- Add support for the following in faster pandas: |
| 29 | + - `groupby.nunique` |
| 30 | + - `groupby.size` |
| 31 | + - `concat` |
| 32 | + |
| 33 | +## 1.41.0 (2025-10-23) |
4 | 34 |
|
5 | 35 | ### Snowpark Python API Updates |
6 | 36 |
|
7 | 37 | #### New Features |
8 | 38 |
|
9 | 39 | - Added a new function `service` in `snowflake.snowpark.functions` that allows users to create a callable representing a Snowpark Container Services (SPCS) service. |
10 | | -- Added a new function `group_by_all()` to the `DataFrame` class. |
11 | 40 | - Added `connection_parameters` parameter to `DataFrameReader.dbapi()` (PuPr) method to allow passing keyword arguments to the `create_connection` callable. |
12 | 41 | - Added support for `Session.begin_transaction`, `Session.commit` and `Session.rollback`. |
13 | 42 | - Added support for the following functions in `functions.py`: |
|
58 | 87 | - `st_geometryfromwkt` |
59 | 88 | - `try_to_geography` |
60 | 89 | - `try_to_geometry` |
61 | | - |
| 90 | +- Added a parameter to enable and disable automatic column name aliasing for `interval_day_time_from_parts` and `interval_year_month_from_parts` functions. |
62 | 91 |
|
63 | 92 | #### Bug Fixes |
64 | 93 |
|
65 | 94 | - Fixed a bug that `DataFrameReader.xml` fails to parse XML files with undeclared namespaces when `ignoreNamespace` is `True`. |
66 | 95 | - Added a fix for floating point precision discrepancies in `interval_day_time_from_parts`. |
67 | 96 | - Fixed a bug where writing Snowpark pandas dataframes on the pandas backend with a column multiindex to Snowflake with `to_snowflake` would raise `KeyError`. |
68 | 97 | - Fixed a bug that `DataFrameReader.dbapi` (PuPr) is not compatible with oracledb 3.4.0. |
| 98 | +- Fixed a bug where `modin` would unintentionally be imported during session initialization in some scenarios. |
| 99 | +- Fixed a bug where `session.udf|udtf|udaf|sproc.register` failed when an extra session argument was passed. These methods do not expect a session argument; please remove it if provided. |
| 100 | + |
| 101 | +#### Improvements |
| 102 | + |
| 103 | +- The default maximum length for inferred StringType columns during schema inference in `DataFrameReader.dbapi` is now increased from 16MB to 128MB in parquet file based ingestion. |
69 | 104 |
|
70 | 105 | #### Dependency Updates |
71 | 106 |
|
|
74 | 109 | ### Snowpark pandas API Updates |
75 | 110 |
|
76 | 111 | #### New Features |
| 112 | + |
77 | 113 | - Added support for the `dtypes` parameter of `pd.get_dummies` |
| 114 | +- Added support for `nunique` in `df.pivot_table`, `df.agg` and other places where aggregate functions can be used. |
| 115 | +- Added support for `DataFrame.interpolate` and `Series.interpolate` with the "linear", "ffill"/"pad", and "backfill"/bfill" methods. These use the SQL `INTERPOLATE_LINEAR`, `INTERPOLATE_FFILL`, and `INTERPOLATE_BFILL` functions (PuPr). |
78 | 116 |
|
79 | 117 | #### Improvements |
80 | 118 |
|
|
119 | 157 | - `sort_values` |
120 | 158 | - `loc` (setting columns) |
121 | 159 | - `to_datetime` |
| 160 | + - `rename` |
122 | 161 | - `drop` |
123 | 162 | - `invert` |
124 | 163 | - `duplicated` |
|
134 | 173 | - `median` |
135 | 174 | - `std` |
136 | 175 | - `var` |
| 176 | + - `groupby.agg` |
| 177 | + - `groupby.min` |
| 178 | + - `groupby.max` |
| 179 | + - `groupby.count` |
| 180 | + - `groupby.sum` |
| 181 | + - `groupby.mean` |
| 182 | + - `groupby.median` |
| 183 | + - `groupby.std` |
| 184 | + - `groupby.var` |
| 185 | + - `drop_duplicates` |
137 | 186 | - Reuse row count from the relaxed query compiler in `get_axis_len`. |
138 | 187 |
|
139 | 188 | #### Bug Fixes |
|
0 commit comments