From 2f51ab6f26897329b91ab48b4b9b608131b22fcf Mon Sep 17 00:00:00 2001 From: Nathan <95725385+treefern@users.noreply.github.com> Date: Wed, 14 Aug 2024 07:02:40 +0000 Subject: [PATCH] NPI-3446 Remove deprecated argument to dataframe groupby(). Value used has same effect as default. --- gnssanalysis/gn_io/sp3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnssanalysis/gn_io/sp3.py b/gnssanalysis/gn_io/sp3.py index 3233038..a4902d3 100644 --- a/gnssanalysis/gn_io/sp3.py +++ b/gnssanalysis/gn_io/sp3.py @@ -691,7 +691,7 @@ def clk_std_formatter(x): "STD_Z": pos_std_formatter, "STD_CLK": clk_std_formatter, # ditto above } - for epoch, epoch_vals in out_df.reset_index("PRN").groupby(axis=0, level="J2000"): + for epoch, epoch_vals in out_df.reset_index("PRN").groupby(level="J2000"): # Format and write out the epoch in the SP3 format epoch_datetime = _gn_datetime.j2000_to_pydatetime(epoch) frac_seconds = epoch_datetime.second + (epoch_datetime.microsecond * 1e-6)