f64 commited on
Commit ·
7899b6d
1
Parent(s): 4d24c1f
- pages/3_Загрузка CSV.py +5 -5
pages/3_Загрузка CSV.py
CHANGED
|
@@ -32,15 +32,15 @@ if uploaded_file is not None:
|
|
| 32 |
if not df is None:
|
| 33 |
df.style.format(precision=3, thousands=" ", decimal=".")
|
| 34 |
col2.dataframe(df) #, column_config=)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
col1.write(df.describe())
|
| 36 |
dfinfo = my_stm.pandas_info(df)
|
| 37 |
col1.write(dfinfo)
|
| 38 |
-
if dfinfo is pd.DataFrame:
|
| 39 |
-
cnames = "".join(df.columns)
|
| 40 |
-
col2.write(cnames)
|
| 41 |
-
|
| 42 |
#col1.write(df.aggregate(["mean","median","prod","sum","std","var"]))
|
| 43 |
-
|
| 44 |
|
| 45 |
|
| 46 |
|
|
|
|
| 32 |
if not df is None:
|
| 33 |
df.style.format(precision=3, thousands=" ", decimal=".")
|
| 34 |
col2.dataframe(df) #, column_config=)
|
| 35 |
+
cnames = "".join(df.columns)
|
| 36 |
+
if cnames.lower().startswith("xyz"):
|
| 37 |
+
col2.write(cnames)
|
| 38 |
+
col2.write(df.notna().sum())
|
| 39 |
col1.write(df.describe())
|
| 40 |
dfinfo = my_stm.pandas_info(df)
|
| 41 |
col1.write(dfinfo)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
#col1.write(df.aggregate(["mean","median","prod","sum","std","var"]))
|
| 43 |
+
|
| 44 |
|
| 45 |
|
| 46 |
|