Add head(), tail() and thin() methods?
See original GitHub issueThese would be shortcuts for isel
/slice syntax:
ds.head(time=5)
->ds.isel(time=slice(5))
: select the first five time valuesds.tail(time=5)
->ds.isel(time=slice(-5, None))
: select the last five time valuesds.thin(time=5)
->ds.isel(time=slice(None, None, 5))
: select every 5th time value
Issue Analytics
- State:
- Created 9 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Pandas DataFrame head() and tail() Method - Finxter
DataFrame head() and tail() These methods display n numbers of records (top or bottom). These methods are useful when you are accessing large...
Read more >The head() and tail() function in R - Detailed Reference
This article will address the head() and tail() functions in R, which returns the first and last n rows respectively. Syntax of the...
Read more >A Simple Method to Prepare Head-to-Tail Coupled ...
The textures and the growth kinetics of the hexagons were analyzed using a polarizing microscope equipped with a Mettler hot stage and a...
Read more >Head and Tail Function in Python Pandas - YouTube
We will learn about Head() and Tail() method in dataframe. The head() method is used for returning top n (by default value 5)...
Read more >What are head and tail functions in pandas? - Educative.io
The head function in Python displays the first five rows of the dataframe by default. It takes in a single parameter: the number...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Go for it!
Is this being worked on?
If not, I can send a PR today since I have some code ready that might help add this functionality.