|
51 | 51 | ArrayLike,
|
52 | 52 | Axes,
|
53 | 53 | Axis,
|
| 54 | + ColspaceArgType, |
54 | 55 | CompressionOptions,
|
55 | 56 | Dtype,
|
56 | 57 | FilePathOrBuffer,
|
| 58 | + FloatFormatType, |
| 59 | + FormattersType, |
57 | 60 | FrameOrSeriesUnion,
|
58 | 61 | IndexKeyFunc,
|
59 | 62 | Label,
|
@@ -1612,11 +1615,11 @@ def to_gbq(
|
1612 | 1615 | self,
|
1613 | 1616 | destination_table: str,
|
1614 | 1617 | project_id: Optional[str] = None,
|
1615 |
| - chunksize=None, |
| 1618 | + chunksize: Optional[int] = None, |
1616 | 1619 | reauth: bool = False,
|
1617 | 1620 | if_exists: str = "fail",
|
1618 | 1621 | auth_local_webserver: bool = False,
|
1619 |
| - table_schema=None, |
| 1622 | + table_schema: Optional[List[Dict[str, str]]] = None, |
1620 | 1623 | location: Optional[str] = None,
|
1621 | 1624 | progress_bar: bool = True,
|
1622 | 1625 | credentials=None,
|
@@ -2474,29 +2477,29 @@ def to_parquet(
|
2474 | 2477 | @Substitution(shared_params=fmt.common_docstring, returns=fmt.return_docstring)
|
2475 | 2478 | def to_html(
|
2476 | 2479 | self,
|
2477 |
| - buf=None, |
2478 |
| - columns=None, |
2479 |
| - col_space=None, |
2480 |
| - header=True, |
2481 |
| - index=True, |
2482 |
| - na_rep="NaN", |
2483 |
| - formatters=None, |
2484 |
| - float_format=None, |
2485 |
| - sparsify=None, |
2486 |
| - index_names=True, |
2487 |
| - justify=None, |
2488 |
| - max_rows=None, |
2489 |
| - max_cols=None, |
2490 |
| - show_dimensions=False, |
| 2480 | + buf: Optional[FilePathOrBuffer[str]] = None, |
| 2481 | + columns: Optional[Sequence[str]] = None, |
| 2482 | + col_space: Optional[ColspaceArgType] = None, |
| 2483 | + header: Union[bool, Sequence[str]] = True, |
| 2484 | + index: bool = True, |
| 2485 | + na_rep: str = "NaN", |
| 2486 | + formatters: Optional[FormattersType] = None, |
| 2487 | + float_format: Optional[FloatFormatType] = None, |
| 2488 | + sparsify: Optional[bool] = None, |
| 2489 | + index_names: bool = True, |
| 2490 | + justify: Optional[str] = None, |
| 2491 | + max_rows: Optional[int] = None, |
| 2492 | + max_cols: Optional[int] = None, |
| 2493 | + show_dimensions: Union[bool, str] = False, |
2491 | 2494 | decimal: str = ".",
|
2492 |
| - bold_rows=True, |
2493 |
| - classes=None, |
2494 |
| - escape=True, |
2495 |
| - notebook=False, |
2496 |
| - border=None, |
2497 |
| - table_id=None, |
2498 |
| - render_links=False, |
2499 |
| - encoding=None, |
| 2495 | + bold_rows: bool = True, |
| 2496 | + classes: Optional[Union[str, List, Tuple]] = None, |
| 2497 | + escape: bool = True, |
| 2498 | + notebook: bool = False, |
| 2499 | + border: Optional[int] = None, |
| 2500 | + table_id: Optional[str] = None, |
| 2501 | + render_links: bool = False, |
| 2502 | + encoding: Optional[str] = None, |
2500 | 2503 | ):
|
2501 | 2504 | """
|
2502 | 2505 | Render a DataFrame as an HTML table.
|
|
0 commit comments