<commit_before>The supported configuration keys are:

## Context

* `spark.redis.host` - host or IP of the initial node we connect to. The connector will read the cluster
topology from the initial node, so there is no need to provide the rest of the cluster nodes.
* `spark.redis.port` - the inital node's TCP redis port.
* `spark.redis.auth` - the initial node's AUTH password
* `spark.redis.db` - optional DB number. Avoid using this, especially in cluster mode.

## Dataframe

See [Link](configuration.md##Options) for more details

| Name          | Description                                                     | Type                  | Default |
| ------------- | --------------------------------------------------------------- | --------------------- | ------- |
| inferSchema   | Guess schema from data, fallback to strings for unknown types   | `Boolean`             | `false` |
| keyColumn     | Specify unique column, e.g. for selective overriding            | `String`              | -       |
| model         | Persistent model for performance vs interoperability            | `enum [binary, hash]` | `hash`  |
| numPartitions | Number of data partitions                                       | `Int`                 | `3`     |                  |
| ttl           | Data time to live in `seconds`. Doesn't expire if less than `1` | `Int`                 | `0`     |<commit_msg>Fix dataframe configuration documentation typos<commit_after>The supported configuration keys are:

## Context

* `spark.redis.host` - host or IP of the initial node we connect to. The connector will read the cluster
topology from the initial node, so there is no need to provide the rest of the cluster nodes.
* `spark.redis.port` - the inital node's TCP redis port.
* `spark.redis.auth` - the initial node's AUTH password
* `spark.redis.db` - optional DB number. Avoid using this, especially in cluster mode.

## Dataframe

See [Link](configuration.md##Options) for more details

| Name          | Description                                                     | Type                  | Default |
| ------------- | --------------------------------------------------------------- | --------------------- | ------- |
| inferSchema   | Guess schema from data, fallback to strings for unknown types   | `Boolean`             | `false` |
| keyColumn     | Specify unique column, e.g. for selective overriding            | `String`              | -       |
| model         | Persistent model for performance vs interoperability            | `enum [binary, hash]` | `hash`  |
| numPartitions | Number of data partitions                                       | `Int`                 | `3`     |
| ttl           | Data time to live in `seconds`. Doesn't expire if less than `1` | `Int`                 | `0`     |
{'fraction_non_alphanumeric': 0.15684172918899608, 'fraction_numerical': 0.0021436227224008574, 'mean_word_length': 1.5112107623318385, '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': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2716496', 'n_tokens_mistral': 682, 'n_tokens_neox': 645, 'n_words': 264}