Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- __pycache__/gradify.cpython-310.pyc +0 -0
- demo.yaml +2 -2
__pycache__/gradify.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/gradify.cpython-310.pyc and b/__pycache__/gradify.cpython-310.pyc differ
|
|
|
demo.yaml
CHANGED
|
@@ -5,7 +5,7 @@ class_string: gradio.interface.Interface
|
|
| 5 |
kwargs:
|
| 6 |
title: gitio dataframe op
|
| 7 |
description: Given a pandas dataframe, convert values to integers and multiply them
|
| 8 |
-
by their
|
| 9 |
article: null
|
| 10 |
thumbnail: null
|
| 11 |
theme: gradio/seafoam
|
|
@@ -32,4 +32,4 @@ kwargs:
|
|
| 32 |
class_string: gradify.exec_to_dict
|
| 33 |
kwargs:
|
| 34 |
source: "import pandas as pd\n\n\ndef convert_and_multiply(df):\n return\
|
| 35 |
-
\
|
|
|
|
| 5 |
kwargs:
|
| 6 |
title: gitio dataframe op
|
| 7 |
description: Given a pandas dataframe, convert values to integers and multiply them
|
| 8 |
+
by their column index
|
| 9 |
article: null
|
| 10 |
thumbnail: null
|
| 11 |
theme: gradio/seafoam
|
|
|
|
| 32 |
class_string: gradify.exec_to_dict
|
| 33 |
kwargs:
|
| 34 |
source: "import pandas as pd\n\n\ndef convert_and_multiply(df):\n return\
|
| 35 |
+
\ df.apply(lambda x: x.astype(int) * x.index, axis=1)\n"
|