semantic-link-functions-validators-0.9.3
توضیحات
Semantic link functions for validators package. Enables validation of email addresses, credit card numbers, ... in FabricDataFrames.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | semantic-link-functions-validators-0.9.3 |
| نام | semantic-link-functions-validators |
| نسخه کتابخانه | 0.9.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Microsoft |
| ایمیل نویسنده | semanticdatascience@service.microsoft.com |
| آدرس صفحه اصلی | https://github.com/microsoft/semantic-link-functions |
| آدرس اینترنتی | https://pypi.org/project/semantic-link-functions-validators/ |
| مجوز | MIT License |
FabricDataFrames dynamically expose semantic functions based on logic defined by each function. For example, the is_holiday function shows up in the autocomplete suggestions when you're working on a FabricDataFrame containing both a datetime column and a country column.
Each semantic function uses information about the data types, metadata (such as Power BI data categories), and the data in a FabricDataFrame or FabricSeries to determine its relevance to the particular data on which you're working.
Semantic functions are automatically discovered when annotated with the @semantic_function decorator. You can think of semantic functions as being similar to C# extension methods applied to the popular DataFrame concept.
```python
from sempy.fabric import FabricDataFrame
df = FabricDataFrame(
{"contact_email": ["a@b.com", "d.com"],
"amex": ["378282246310005", "4242424242424242"],
"iban": ["DE29100500001061045672", "123456"],
"es_nie": ["X0095892M", "X0095892X"]}
)
df["contact_email"].validators.is_email()
```
نیازمندی
| مقدار | نام |
|---|---|
| - | validators |
| - | semantic-link-sempy==0.13.0 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl semantic-link-functions-validators-0.9.3:
pip install semantic-link-functions-validators-0.9.3.whl
نصب پکیج tar.gz semantic-link-functions-validators-0.9.3:
pip install semantic-link-functions-validators-0.9.3.tar.gz