Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,9 +29,7 @@ def variable_table(df):
|
|
| 29 |
# Iterate over columns
|
| 30 |
for col in df.columns:
|
| 31 |
print(col )
|
| 32 |
-
|
| 33 |
-
gr.Info(df.sketch.ask("""How many unique values are in the
|
| 34 |
-
Smoker column and what are the values?"""))
|
| 35 |
unique_values = df[col].nunique()
|
| 36 |
total_values = df[col].count()
|
| 37 |
dtype_kind = df[col].dtype.kind
|
|
|
|
| 29 |
# Iterate over columns
|
| 30 |
for col in df.columns:
|
| 31 |
print(col )
|
| 32 |
+
|
|
|
|
|
|
|
| 33 |
unique_values = df[col].nunique()
|
| 34 |
total_values = df[col].count()
|
| 35 |
dtype_kind = df[col].dtype.kind
|