|
7 | 7 | #### New Features |
8 | 8 |
|
9 | 9 | - 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 | 10 | - Added `connection_parameters` parameter to `DataFrameReader.dbapi()` (PuPr) method to allow passing keyword arguments to the `create_connection` callable. |
12 | 11 | - Added support for `Session.begin_transaction`, `Session.commit` and `Session.rollback`. |
13 | 12 | - Added support for the following functions in `functions.py`: |
|
67 | 66 | - 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 | 67 | - Fixed a bug that `DataFrameReader.dbapi` (PuPr) is not compatible with oracledb 3.4.0. |
69 | 68 | - Fixed a bug where `modin` would unintentionally be imported during session initialization in some scenarios. |
| 69 | +- 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. |
| 70 | +- Fixed a bug in `DataFrameGroupBuy.agg` where func is a list of tuples used to set the names of the output columns. |
70 | 71 |
|
71 | 72 | #### Improvements |
72 | 73 |
|
|
83 | 84 | - Added support for the `dtypes` parameter of `pd.get_dummies` |
84 | 85 | - Added support for `nunique` in `df.pivot_table`, `df.agg` and other places where aggregate functions can be used. |
85 | 86 | - 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). |
| 87 | +- Added support for `Dataframe.groupby.rolling()`. |
86 | 88 |
|
87 | 89 | #### Improvements |
88 | 90 |
|
|
93 | 95 | - `skew()` with `axis=1` or `numeric_only=False` parameters |
94 | 96 | - `round()` with `decimals` parameter as a Series |
95 | 97 | - `corr()` with `method!=pearson` parameter |
| 98 | + - `shift()` with `suffix` or non-integer `periods` parameters |
| 99 | + - `sort_index()` with `axis=1` or `key` parameters |
| 100 | + - `sort_values()` with `axis=1` |
| 101 | + - `melt()` with `col_level` parameter |
| 102 | + - `apply()` with `result_type` parameter for DataFrame |
| 103 | + - `pivot_table()` with `sort=True`, non-string `index` list, non-string `columns` list, non-string `values` list, or `aggfunc` dict with non-string values |
| 104 | + - `fillna()` with `downcast` parameter or using `limit` together with `value` |
| 105 | + - `dropna()` with `axis=1` |
| 106 | + |
| 107 | + |
96 | 108 | - Set `cte_optimization_enabled` to True for all Snowpark pandas sessions. |
97 | 109 | - Add support for the following in faster pandas: |
98 | 110 | - `isin` |
|
127 | 139 | - `sort_values` |
128 | 140 | - `loc` (setting columns) |
129 | 141 | - `to_datetime` |
| 142 | + - `rename` |
130 | 143 | - `drop` |
131 | 144 | - `invert` |
132 | 145 | - `duplicated` |
|
151 | 164 | - `groupby.median` |
152 | 165 | - `groupby.std` |
153 | 166 | - `groupby.var` |
| 167 | + - `groupby.nunique` |
| 168 | + - `groupby.size` |
| 169 | + - `groupby.apply` |
154 | 170 | - `drop_duplicates` |
155 | 171 | - Reuse row count from the relaxed query compiler in `get_axis_len`. |
156 | 172 |
|
|
0 commit comments