Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the timestamp column to the df returned by get_locations_at for a TrajectoryCollection #331

Merged
merged 5 commits into from
Jul 22, 2023
Merged

Adding the timestamp column to the df returned by get_locations_at for a TrajectoryCollection #331

merged 5 commits into from
Jul 22, 2023

Conversation

GaspardMerten
Copy link
Contributor

This pull request adds the timestamp column to the dataframe returned by the get_locations_at method of the TrajectoryCollection class. This has for consequence that the get_start_locations and get_end_locations now also return the timestamp column.

Solving: #318

@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +95.43 🎉

Comparison is base (089167a) 0.00% compared to head (f761ad4) 95.43%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff            @@
##           main     #331       +/-   ##
=========================================
+ Coverage      0   95.43%   +95.43%     
=========================================
  Files         0       33       +33     
  Lines         0     3572     +3572     
=========================================
+ Hits          0     3409     +3409     
- Misses        0      163      +163     
Impacted Files Coverage Δ
movingpandas/tests/test_trajectory_collection.py 99.47% <100.00%> (ø)
movingpandas/trajectory_collection.py 86.22% <100.00%> (ø)

... and 31 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@anitagraser
Copy link
Collaborator

anitagraser commented Jul 21, 2023

Great work. Could you please add a check to the test that ensures that the timestamps is the expected one? As far as I see, so far it only tests that the timestamps column exists

@GaspardMerten
Copy link
Contributor Author

This has now been fixed.

@anitagraser anitagraser merged commit dd3ea81 into movingpandas:main Jul 22, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants