# {py:mod}`haniwers.v1.preprocess.transformer`

```{py:module} haniwers.v1.preprocess.transformer
```

```{autodoc2-docstring} haniwers.v1.preprocess.transformer
:allowtitles:
```

## Module Contents

### Functions

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`add_time_column <haniwers.v1.preprocess.transformer.add_time_column>`
  - ```{autodoc2-docstring} haniwers.v1.preprocess.transformer.add_time_column
    :summary:
    ```
* - {py:obj}`add_hit_columns <haniwers.v1.preprocess.transformer.add_hit_columns>`
  - ```{autodoc2-docstring} haniwers.v1.preprocess.transformer.add_hit_columns
    :summary:
    ```
* - {py:obj}`compute_hit_type <haniwers.v1.preprocess.transformer.compute_hit_type>`
  - ```{autodoc2-docstring} haniwers.v1.preprocess.transformer.compute_hit_type
    :summary:
    ```
* - {py:obj}`process_raw_data <haniwers.v1.preprocess.transformer.process_raw_data>`
  - ```{autodoc2-docstring} haniwers.v1.preprocess.transformer.process_raw_data
    :summary:
    ```
````

### API

````{py:function} add_time_column(df: pandas.DataFrame, tz_string: str = 'UTC+09:00', offset_seconds: int = 0) -> pandas.DataFrame
:canonical: haniwers.v1.preprocess.transformer.add_time_column

```{autodoc2-docstring} haniwers.v1.preprocess.transformer.add_time_column
```
````

````{py:function} add_hit_columns(df: pandas.DataFrame) -> pandas.DataFrame
:canonical: haniwers.v1.preprocess.transformer.add_hit_columns

```{autodoc2-docstring} haniwers.v1.preprocess.transformer.add_hit_columns
```
````

````{py:function} compute_hit_type(df: pandas.DataFrame) -> pandas.DataFrame
:canonical: haniwers.v1.preprocess.transformer.compute_hit_type

```{autodoc2-docstring} haniwers.v1.preprocess.transformer.compute_hit_type
```
````

````{py:function} process_raw_data(df: pandas.DataFrame, tz_string: str = 'UTC+09:00', offset_seconds: int = 0) -> pandas.DataFrame
:canonical: haniwers.v1.preprocess.transformer.process_raw_data

```{autodoc2-docstring} haniwers.v1.preprocess.transformer.process_raw_data
```
````
