<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/schema](./schema.md) &gt; [OnehotArgs](./schema.onehotargs.md)

## OnehotArgs interface

<b>Signature:</b>

```typescript
export interface OnehotArgs extends InputColumnArgs 
```
<b>Extends:</b> [InputColumnArgs](./schema.inputcolumnargs.md)

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [prefix?](./schema.onehotargs.prefix.md) |  | string | <i>(Optional)</i> Optional prefixes for the output column names |
|  [preserveSource?](./schema.onehotargs.preservesource.md) |  | boolean | <i>(Optional)</i> Keep the original columns (default is to remove source columns). |

