upgini 1.2.112__py3-none-any.whl → 1.2.113__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
upgini/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.112"
1
+ __version__ = "1.2.113"
upgini/autofe/date.py CHANGED
@@ -244,7 +244,8 @@ class DateListDiffBounded(DateListDiff, ParametrizedOperator):
244
244
 
245
245
  class DatePercentileBase(PandasOperator, abc.ABC):
246
246
  is_binary: bool = True
247
- output_type: Optional[str] = "float"
247
+ is_categorical: bool = True
248
+ output_type: Optional[str] = "category"
248
249
 
249
250
  date_unit: Optional[str] = None
250
251
 
@@ -254,7 +255,12 @@ class DatePercentileBase(PandasOperator, abc.ABC):
254
255
 
255
256
  bounds = self._get_bounds(left)
256
257
 
257
- return right.index.to_series().apply(lambda i: self._perc(right[i], bounds[i]))
258
+ return (
259
+ right.index.to_series()
260
+ .apply(lambda i: self._perc(right[i], bounds[i]))
261
+ .astype(pd.Int64Dtype())
262
+ .astype("category")
263
+ )
258
264
 
259
265
  @abc.abstractmethod
260
266
  def _get_bounds(self, date_col: pd.Series) -> pd.Series:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: upgini
3
- Version: 1.2.112
3
+ Version: 1.2.113
4
4
  Summary: Intelligent data search & enrichment for Machine Learning
5
5
  Project-URL: Bug Reports, https://github.com/upgini/upgini/issues
6
6
  Project-URL: Homepage, https://upgini.com/
@@ -874,7 +874,7 @@ Some convenient ways to start contributing are:
874
874
  ⚙️ **Gitpod** [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/upgini/upgini) You can use Gitpod to launch a fully functional development environment right in your browser.
875
875
 
876
876
  ## 🔗 Useful links
877
- - [Simple sales predictions as a template notebook](#-simple-sales-predictions-use-as-a-template)
877
+ - [Simple sales predictions as a template notebook](#-simple-sales-prediction-for-retail-stores)
878
878
  - [Full list of Kaggle Guides & Examples](https://www.kaggle.com/romaupgini/code)
879
879
  - [Project on PyPI](https://pypi.org/project/upgini)
880
880
  - [More perks for registered users](https://profile.upgini.com)
@@ -1,4 +1,4 @@
1
- upgini/__about__.py,sha256=2l59GHTYScTlsiV491ecYRn_6bm6FIVavXCWQJfNn2Q,24
1
+ upgini/__about__.py,sha256=kaFCe2X7oNqZHww74j5Dd4YV4nG48zI57948z7H1dl4,24
2
2
  upgini/__init__.py,sha256=LXSfTNU0HnlOkE69VCxkgIKDhWP-JFo_eBQ71OxTr5Y,261
3
3
  upgini/ads.py,sha256=nvuRxRx5MHDMgPr9SiU-fsqRdFaBv8p4_v1oqiysKpc,2714
4
4
  upgini/dataset.py,sha256=xFi0a-A3uvtxVwFM6JOyitkEPd1I2slIBj5SWfys3hQ,32724
@@ -15,7 +15,7 @@ upgini/ads_management/ads_manager.py,sha256=igVbN2jz80Umb2BUJixmJVj-zx8unoKpecVo
15
15
  upgini/autofe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  upgini/autofe/all_operators.py,sha256=rdjF5eaE4bC6Q4eu_el5Z7ekYt8DjOFermz2bePPbUc,333
17
17
  upgini/autofe/binary.py,sha256=oOEECc4nRzZN2tYaiqx8F2XHnfWpk1bVvb7ZkZJ0lO8,7709
18
- upgini/autofe/date.py,sha256=Ga022BUSgXJ4W3P8uWkPNo6k6J0IuEZw6Ezs9KNikPk,11188
18
+ upgini/autofe/date.py,sha256=RvexgrL1_6ISYPVrl9HUQmPgpVSGQsTNv8YhNQWs-5M,11329
19
19
  upgini/autofe/feature.py,sha256=b4Ps_sCPui9b4h0K3ya85cfL1SWpLVrlHc40zkKVfAY,16329
20
20
  upgini/autofe/groupby.py,sha256=IYmQV9uoCdRcpkeWZj_kI3ObzoNCNx3ff3h8sTL01tk,3603
21
21
  upgini/autofe/operator.py,sha256=RB3rKMjFi5Cx81RiYXN3OTCuXjmvzmFKQrxn4h0Oclo,5219
@@ -71,7 +71,7 @@ upgini/utils/target_utils.py,sha256=i3Xt5l9ybB2_nF_ma5cfPuL3OeFTs2dY2xDI0p4Azpg,
71
71
  upgini/utils/track_info.py,sha256=G5Lu1xxakg2_TQjKZk4b5SvrHsATTXNVV3NbvWtT8k8,5663
72
72
  upgini/utils/ts_utils.py,sha256=26vhC0pN7vLXK6R09EEkMK3Lwb9IVPH7LRdqFIQ3kPs,1383
73
73
  upgini/utils/warning_counter.py,sha256=-GRY8EUggEBKODPSuXAkHn9KnEQwAORC0mmz_tim-PM,254
74
- upgini-1.2.112.dist-info/METADATA,sha256=0FctuJ3ulRlAtYCinvR1Y0Q3cD7yffMLLfWI7LctDBY,49529
75
- upgini-1.2.112.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
76
- upgini-1.2.112.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
77
- upgini-1.2.112.dist-info/RECORD,,
74
+ upgini-1.2.113.dist-info/METADATA,sha256=p2gvqfKWenNyt1s95-ZalIp6mYCaq0LSVrzphZAQvH4,49528
75
+ upgini-1.2.113.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
76
+ upgini-1.2.113.dist-info/licenses/LICENSE,sha256=5RRzgvdJUu3BUDfv4bzVU6FqKgwHlIay63pPCSmSgzw,1514
77
+ upgini-1.2.113.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.25.0
2
+ Generator: hatchling 1.24.2
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any