DataColumn Class
A dataframe column
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinDataColumn
Constructor
DataColumn(*, name: str, type: str | DataColumnType | None = None, **kwargs: Any)
Parameters
Name | Description |
---|---|
name
Required
|
The column name |
type
Required
|
The column data type. Defaults to None. |
kwargs
Required
|
A dictionary of additional configuration parameters. |
Keyword-Only Parameters
Name | Description |
---|---|
name
Required
|
|
type
Required
|
|
Examples
Using DataColumn when creating an index column for a feature store entity
from azure.ai.ml.entities import DataColumn, DataColumnType, FeatureStoreEntity
account_column = DataColumn(name="accountID", type=DataColumnType.STRING)
account_entity_config = FeatureStoreEntity(
name="account",
version="1",
index_columns=[account_column],
stage="Development",
description="This entity represents user account index key accountID.",
tags={"data_type": "nonPII"},
)
# wait for featurestore entity creation
fs_entity_poller = featurestore_client.feature_store_entities.begin_create_or_update(account_entity_config)
print(fs_entity_poller.result())
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python