Skip to content

Commit

Permalink
Fix casting version on load
Browse files Browse the repository at this point in the history
  • Loading branch information
ymyzk committed Nov 14, 2015
1 parent 189bf40 commit 8876ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytconnect/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ def load_file(name):
for name in series_names_casted_to_float:
df[name] = df[name].astype(float)
df["version"].apply(lambda v: tuple(map(int, v.split(".")))
if v != "nan" else ())
if v != "" and v != "nan" else ())

return df

0 comments on commit 8876ccf

Please sign in to comment.