You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ads/feature_store/docs/source/feature_group.rst
+29-9Lines changed: 29 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -152,24 +152,45 @@ Feature store provides an API similar to Pandas to join feature groups together
152
152
153
153
Save expectation entity
154
154
=======================
155
-
With a ``FeatureGroup`` instance, we can save the expectation entity using ``save_expectation()``
155
+
With a ``FeatureGroup`` instance, You can save the expectation details using ``with_expectation_suite()`` with parameters
156
+
157
+
- ``expectation_suite: ExpectationSuite``. ExpectationSuit of great expectation
158
+
- ``expectation_type: ExpectationType``. Type of expectation
159
+
- ``ExpectationType.STRICT``: Fail the job if expectation not met
160
+
- ``ExpectationType.LENIENT``: Pass the job even if expectation not met
156
161
157
162
.. note::
158
163
159
164
Great Expectations is a Python-based open-source library for validating, documenting, and profiling your data. It helps you to maintain data quality and improve communication about data between teams. Software developers have long known that automated testing is essential for managing complex codebases.
160
165
161
166
.. image:: figures/validation.png
162
167
163
-
The ``.save_expectation()`` method takes the following optional parameter:
168
+
.. code-block:: python3
164
169
165
-
- ``expectation: Expectation``. Expectation of great expectation
166
-
- ``expectation_type: ExpectationType``. Type of expectation
167
-
- ``ExpectationType.STRICT``: Fail the job if expectation not met
168
-
- ``ExpectationType.LENIENT``: Pass the job even if expectation not met
0 commit comments