On some versions of numpy/pandas, applying a str map to an empty series doesn't change the type. As a result, when adding a float to a string, sometimes numpy dies with a uadd error. We fix this by explicitly casting to a str first Signed-off-by: Nicholas Curtis <nicurtis@amd.com> Co-authored-by: Nicholas Curtis <nicurtis@amd.com>
이 커밋은 다음에 포함됨:
@@ -149,6 +149,7 @@ def show_all(args, runs, archConfigs, output):
|
||||
.astype(float)
|
||||
.round(args.decimal)
|
||||
.map(str)
|
||||
.astype(str)
|
||||
+ " ("
|
||||
+ t_df_pretty.map(str)
|
||||
+ "%)"
|
||||
|
||||
새 이슈에서 참조
사용자 차단