<commit_before># yaml_query
Use a YAML file as a table to query.

## Quick Start

Suppose you have a YAML file that describes items as follows. You'd like to 'filter' the items for certain attributes.

```
---

#item_column: ITEM_ID # special

test:
  test: 123<commit_msg>it's a file on disk<commit_after># yaml_query
Use a YAML file as a table to query.

## Quick Start

Suppose you have a `file.yaml` that describes items as follows. You'd like to 'filter' the items for certain attributes.

```
---

#item_column: ITEM_ID # special

test:
  test: 123
{'fraction_non_alphanumeric': 0.09025270758122744, 'fraction_numerical': 0.010830324909747292, 'mean_word_length': 3.8260869565217392, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6357477', 'n_tokens_mistral': 196, 'n_tokens_neox': 175, 'n_words': 80}