This PR is addressing the following future warnings
/Users/msharabayko/projects/srt/lib-tcpdump-processing/tcpdump_processing/extract_packets.py:158: FutureWarning: The default value of regex will change from True to False in a future version.
srt_packets['frame.time'] = srt_packets['frame.time'].str.replace('W. Europe Standard Time', 'CET')
/Users/msharabayko/projects/srt/lib-tcpdump-processing/tcpdump_processing/extract_packets.py:159: FutureWarning: The default value of regex will change from True to False in a future version.
srt_packets['frame.time'] = srt_packets['frame.time'].str.replace('W. Europe Daylight Time', 'CEST')
that appeared after merging PR #47. regex argument of str.replace is meant to be False there, however, this is only true since version 2.0 of pandas.
float16dtype is giving a KeyError when reading csv with pandas, that's why I changed it to float32.
This PR is addressing the following future warnings
that appeared after merging PR #47.
regex
argument ofstr.replace
is meant to be False there, however, this is only true since version 2.0 ofpandas
.float16
dtype
is giving a KeyError when reading csv withpandas
, that's why I changed it tofloat32
.