Repository navigation
Add a sample dataset MaunaLoa_CO2 - #1961
Conversation
| assert summary.loc["min", "date"] == 1958.2027 | ||
| assert summary.loc["max", "date"] == 2019.3699 |
There was a problem hiding this comment.
Is the date column a floating point column? Should we convert it to a proper pandas datetime dtype?
There was a problem hiding this comment.
It is a floating point number in the original dataset. My concern with converting to a date time object is that the GMT API won't recognize that input.
There was a problem hiding this comment.
PyGMT does work with datetime I'm sure. See https://www.pygmt.org/v0.6.1/tutorials/advanced/date_time_charts.html?highlight=datetime
There was a problem hiding this comment.
@GenericMappingTools/pygmt-maintainers Does anyone else have an input on this? My thought is to maintain the original date type in the remote file as a float, but I don't feel that strongly.
Co-authored-by: Wei Ji <[email protected]>
Co-authored-by: Wei Ji <[email protected]>
This adds
@MaunaLoa_CO2.txttoload_sample_data().Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash commands are:
/format: automatically format and lint the code/test-gmt-dev: run full tests on the latest GMT development version