mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
Add components to docs (#1785)
This commit is contained in:
parent
de4458361b
commit
c0faf1d430
@ -2396,12 +2396,13 @@ class DataframeData(TypedDict):
|
||||
data: List[List[str | int | bool]]
|
||||
|
||||
|
||||
@document()
|
||||
class Dataframe(Changeable, IOComponent):
|
||||
"""
|
||||
Accepts or displays 2D input through a spreadsheet-like component for dataframes.
|
||||
Preprocessing: passes the uploaded spreadsheet data as a {pandas.DataFrame}, {numpy.array}, {List[List]}, or {List} depending on `type`
|
||||
Postprocessing: expects a {pandas.DataFrame}, {numpy.array}, {List[List]}, {List}, or {str} path to a csv, which is rendered in the spreadsheet.
|
||||
|
||||
Examples-format: a {str} filepath to a csv with data.
|
||||
Demos: filter_records, matrix_transpose, tax_calculator
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user