Skip to content

Commit

Permalink
NaN->nan
Browse files Browse the repository at this point in the history
  • Loading branch information
joshicola authored and fabclmnt committed Oct 15, 2024
1 parent b20171e commit c632b35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def pandas_describe_numeric_1d(
}
)
stats["iqr"] = stats["75%"] - stats["25%"]
stats["cv"] = stats["std"] / stats["mean"] if stats["mean"] else np.NaN
stats["cv"] = stats["std"] / stats["mean"] if stats["mean"] else np.nan
stats["p_zeros"] = stats["n_zeros"] / summary["n"]
stats["p_infinite"] = summary["n_infinite"] / summary["n"]

Expand Down

0 comments on commit c632b35

Please sign in to comment.