pandasx / ReadHtmlOptions
Interface: ReadHtmlOptions
Defined in: src/io/html.ts:10
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
attrs? | Record<string, string> | Keep only tables with these attributes, e.g. { id: 'prices' }. | src/io/html.ts:18 |
decimal? | string | - | src/io/html.ts:21 |
displayedOnly? | boolean | Skip elements hidden with style="display:none" (default true). | src/io/html.ts:26 |
encoding? | BufferEncoding | - | src/io/html.ts:29 |
extractLinks? | "all" | "header" | "body" | "footer" | null | Return [text, href] pairs for cells of 'header', 'body', 'footer' or 'all'. | src/io/html.ts:28 |
header? | number | readonly number[] | null | Row(s) to use as the header (default: <thead> rows, else leading rows of <th>). | src/io/html.ts:14 |
indexCol? | string | number | readonly (string | number)[] | - | src/io/html.ts:15 |
keepDefaultNa? | boolean | - | src/io/html.ts:23 |
match? | string | RegExp | Keep only tables whose text matches (string or RegExp, default all). | src/io/html.ts:12 |
naValues? | readonly string[] | - | src/io/html.ts:22 |
parseDates? | readonly string[] | - | src/io/html.ts:24 |
skiprows? | number | readonly number[] | - | src/io/html.ts:16 |
thousands? | string | null | Thousands separator stripped from numbers (default ','). | src/io/html.ts:20 |