VOOZH about

URL: https://pypi.org/project/semantic-link-functions-holidays/

โ‡ฑ semantic-link-functions-holidays ยท PyPI


Skip to main content

semantic-link-functions-holidays 0.14.1

pip install semantic-link-functions-holidays

Latest release

Released:

Semantic link functions for holidays package. Enables enrichment of FabricDataFrame with public holidays.

Navigation

Verified details

These details have been verified by PyPI
Maintainers
๐Ÿ‘ Avatar for microsoft from gravatar.com
microsoft

Unverified details

These details have not been verified by PyPI
Project links
Meta
  • License: MIT License (MIT License)
  • Author: Microsoft
  • Requires: Python >=3.10
Classifiers

Project description

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.

fromsempy.fabricimport FabricDataFrame

df = FabricDataFrame(
 {"country": ["US", "AT"], "date": ["2023-01-06", "2023-01-06"]},
 column_metadata={"country": {"data_category": "Country"}},
)

df["date"] = pd.to_datetime(df["date"])

holiday_series = df.is_holiday(date_col="date", country_col="country")

Project details

Verified details

These details have been verified by PyPI
Maintainers
๐Ÿ‘ Avatar for microsoft from gravatar.com
microsoft

Unverified details

These details have not been verified by PyPI
Project links
Meta
  • License: MIT License (MIT License)
  • Author: Microsoft
  • Requires: Python >=3.10
Classifiers

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more about wheel file names.

Copy a direct link to the current filters

File details

Details for the file semantic_link_functions_holidays-0.14.1-py3-none-any.whl.

File metadata

File hashes

Hashes for semantic_link_functions_holidays-0.14.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d385570d419e0dc72958c59968848b54c36205ef03efc438a04cc964215414b0
MD5 c75b2b26ee690c79a1dcc5ff6152b939
BLAKE2b-256 14a6437d944958997c3c383e3defba7182b8b0e4337d403420643e7a36d0ee3a

See more details on using hashes here.

Supported by

๐Ÿ‘ Image
AWS Cloud computing and Security Sponsor ๐Ÿ‘ Image
Datadog Monitoring ๐Ÿ‘ Image
Depot Continuous Integration ๐Ÿ‘ Image
Fastly CDN ๐Ÿ‘ Image
Google Download Analytics ๐Ÿ‘ Image
Pingdom Monitoring ๐Ÿ‘ Image
Sentry Error logging ๐Ÿ‘ Image
StatusPage Status page