Skip to content
Snippets Groups Projects
Commit 636ce543 authored by leufen1's avatar leufen1
Browse files

another minor bug fixed

parent 791a870e
No related branches found
No related tags found
3 merge requests!226Develop,!225Resolve "release v1.2.0",!204Resolve "BUG: NaN error during PostProcessing"
Pipeline #54508 passed
......@@ -137,7 +137,7 @@ class PreProcessing(RunEnvironment):
if percentiles is None:
percentiles = [.05, .1, .25, .5, .75, .9, .95]
df_descr = df.iloc[:-ignore_last_lines].astype('float32').describe(
percentiles=percentiles).astype('int32')
percentiles=percentiles).astype("int32", errors="ignore")
df_descr = pd.concat([df.loc[['# Samples']], df_descr]).T
df_descr.rename(columns={"# Samples": "no. samples", "count": "no. stations"}, inplace=True)
df_descr_colnames = list(df_descr.columns)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment