Skip to main content

Properties

Extract text properties from the input. Requires WrangleWorks Account.

Extract categorical properties from unstructured text, such as colours or materials. Requires WrangleWorks Account.

Parameters​

NameDescriptionAccepted ValuesDefaultRequired
I/O
inputName of the input column.string, integer, array—Yes
outputName of the output columns.string, array—Yes
Options
property_typeThe specific type of properties to extract.string, null; one of:
  • Colours
  • Materials
  • Shapes
  • Standards
nullNo
Formatting
return_data_typeLegacy format option. Prefer output_format.string; one of:
  • list
  • string
"list"No
first_elementGet the first element from results.booleanfalseNo
output_formatFormat of the extract output.string, null; one of:
  • list
  • dictionary
  • columns
  • concatenate
nullNo
charCharacter to use when output_format is concatenate.string", "No
Conditions
ifCondition that determines whether the wrangle runs as a whole. Recipe variables may be referenced with ${variable}.string—No
whereFilter rows before applying the wrangle using SQL-like criteria, such as column1 = 123 OR column2 = 'abc'.string—No
where_paramsValues used with where for parameterized criteria. Uses SQLite placeholder syntax such as ? or :name.array, object—No

Examples​

wrangles:
- extract.properties:
input: water bottles
output: properties

No sample available.

ProductsProduct Properties
Stainless Steel Blue Bottle{'Colours': ['Blue'], 'Materials': ['Stainless Steel']}
Plastic Yellow Bottle{'Colours': ['Yellow'], 'Materials': ['Plastic']}
wrangles:
- extract.properties:
input: water bottles
output: properties
property_type: colours # Optional

No sample available.

ProductsProduct Colours
Stainless Steel Blue Bottle['Blue']
Plastic Yellow Bottle['Yellow']
Access
RequirementValue
AI-poweredNo
Requires WrangleWorks accountYes
Requires subscriptionNo
Requires external API keyNo
Technical details
FieldValue
Catalog ID29
Catalog keyextract.properties
Recipe keyextract.properties
Catalog statusactive
Lifecycle statusactive
Recipe Writer eligibleYes
Namespaceextract
Documentation groupextract
AliasesNone
Runtime symbolwrangles.recipe_wrangles.extract.properties
Legacy UUID23bbdb86-fd13-4b78-8fff-a7a76769ab63

Sources