rameshmoorthy
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -73,12 +73,12 @@ def generate_report(file, type):
|
|
73 |
|
74 |
dfs = DataFrameSummary(df)
|
75 |
sd=dfs.summary()
|
76 |
-
sd.index.name = '
|
77 |
sd1= sd.reset_index(drop=False)
|
78 |
def highlight_cols(x):
|
79 |
df = x.copy()
|
80 |
df.loc[:, :] = 'color: purple'
|
81 |
-
df[['
|
82 |
return df
|
83 |
|
84 |
# Applying the style function
|
|
|
73 |
|
74 |
dfs = DataFrameSummary(df)
|
75 |
sd=dfs.summary()
|
76 |
+
sd.index.name = 'PARAMETERS'
|
77 |
sd1= sd.reset_index(drop=False)
|
78 |
def highlight_cols(x):
|
79 |
df = x.copy()
|
80 |
df.loc[:, :] = 'color: purple'
|
81 |
+
df[['PARAMETERS']] = 'color: red'
|
82 |
return df
|
83 |
|
84 |
# Applying the style function
|