mirror of
https://github.com/PlaneQuery/OpenAirframes.git
synced 2026-07-15 14:37:21 +02:00
sort by time in end
This commit is contained in:
@@ -130,6 +130,9 @@ def download_and_merge_base_release(compressed_df: pl.DataFrame) -> tuple[pl.Dat
|
|||||||
# No deduplication needed since they represent different UTC days
|
# No deduplication needed since they represent different UTC days
|
||||||
combined = pl.concat([base_df, compressed_df])
|
combined = pl.concat([base_df, compressed_df])
|
||||||
print(f"After concat: {len(combined)} records")
|
print(f"After concat: {len(combined)} records")
|
||||||
|
|
||||||
|
# Sort by time for consistent output
|
||||||
|
combined = combined.sort('time')
|
||||||
|
|
||||||
return combined, earliest_date
|
return combined, earliest_date
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user