Skip to content

Commit 4734fea

Browse files
committed
Revert "changed timestamps to use unix format"
1 parent aa42cd8 commit 4734fea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sed/loader/cfel/dataframe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,10 @@ def df_timestamp(self) -> pd.DataFrame:
156156
timestamps = [ts_start + pd.Timedelta(seconds=cum_exp) for cum_exp in cumulative_exposure]
157157
# add initial timestamp to the start of the list
158158
timestamps.insert(0, ts_start)
159-
160-
timestamps = [(ts - pd.Timestamp("1970-01-01")) // pd.Timedelta("1s") for ts in timestamps]
161159
# Create a DataFrame with the timestamps
162160
ts_alias = self._config["columns"].get("timestamp")
163161
df = pd.DataFrame({ts_alias: timestamps}, index=self.index)
162+
164163
return df
165164

166165
def validate_channel_keys(self) -> None:

0 commit comments

Comments
 (0)