Skip to content

Commit 054e6e2

Browse files
committed
documentation fix
1 parent c89aa0e commit 054e6e2

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

ads/feature_store/docs/source/feature_group.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ In feature group, three key types play crucial roles:
1111
- **Partition Keys**: These keys assist in distributing and organizing data across different partitions in the feature group. They enable efficient data retrieval by logically grouping related information, optimizing query performance, and minimizing resource utilization.
1212
- **Event Timestamp Keys**: These keys capture the temporal aspect of the data by indicating the time or timestamp associated with a specific event or entry in the feature group. They facilitate time-based querying, trend analysis, and time-series operations.
1313

14+
.. important::
15+
By default, special characters such as spaces and any of the characters ,;{}()\n\t= are not supported in feature group column names.
16+
1417
Define
1518
======
1619

@@ -353,6 +356,17 @@ Feature store provides an API similar to Pandas to join feature groups together,
353356
# Filter feature group
354357
feature_group.filter(feature_group.col1 > 10).show()
355358
359+
# Filter feature group with get_feature
360+
feature_group.filter(feature_group.get_feature("col1") > 10).show()
361+
362+
363+
Get Feature
364+
===========
365+
Use the ``get_feature()`` method of the ``FeatureGroup`` instance to return the description of feature.
366+
367+
.. code-block:: python3
368+
369+
feature_group.get_feature("col1")
356370
357371
Preview
358372
=======

ads/feature_store/docs/source/transformation.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Transformations in a Feature Store refer to the operations and processes applied
1414
.. code-tab:: Python3
1515
:caption: TransformationMode.SQL
1616

17+
from ads.feature_store.transformation import Transformation,TransformationMode
18+
1719
def transactions_df(transactions_batch):
1820
sql_query = f"select id, cc_num, amount from {transactions_batch}"
1921
return sql_query

0 commit comments

Comments
 (0)