Skip to content

Commit 109c4a6

Browse files
committed
change to string nan for pandas replace
1 parent 713e731 commit 109c4a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gnss_lib_py/parsers/nmea.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def __init__(self, input_path, msg_types=None,
151151
.ffill()\
152152
.astype(float)
153153
pd_df["num_sats"] = pd_df["num_sats"].fillna(value=0).astype('int64')
154-
pd_df = pd_df.fillna(value=np.nan).replace("",np.nan)
154+
pd_df = pd_df.fillna(value=np.nan).replace("","nan")
155155
convert_dict={
156156
'num_sats' : np.int64,
157157
'gps_qual' : np.int64,

0 commit comments

Comments
 (0)