# Client Side S3

**Module:** `sovai.utils.client_side_s3`

## Functions

### `map_identifier()`

```python
def map_identifier(
    input_values,
    input_identifier = 'ticker',
    output_identifier = 'cik',
    trailing_zero_removal = True,
)
```

Map from one identifier to another using the df\_codes DataFrame. Handles string, single-item list, and multiple-item lists as input. Uses vectorization for improved performance.

**Parameters**

| Parameter               | Type | Description                                                             |
| ----------------------- | ---- | ----------------------------------------------------------------------- |
| `input_values`          | —    | The input identifier value(s) to map from (string, list, or array-like) |
| `input_identifier`      | —    | The type of input identifier (default: 'ticker')                        |
| `output_identifier`     | —    | The type of output identifier (default: 'cik')                          |
| `trailing_zero_removal` | —    | If True, convert CIK to int (default: True)                             |

**Returns**

: Mapped identifier value(s), same type as input

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sov.ai/api-reference/utils/client-side-s3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
