-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from thcasey3/development
Development - v0.0.4
- Loading branch information
Showing
77 changed files
with
1,578 additions
and
423 deletions.
There are no files selected for viewing
Binary file modified
BIN
+1.11 KB
(110%)
docs/_downloads/07fcc19ba03226cd3d83d4e40ec44385/auto_examples_python.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+1.69 KB
(110%)
docs/_downloads/6f1e7a639e0699d6164445b55e6c116d/auto_examples_jupyter.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,6 +52,7 @@ Features | |
reduce_names | ||
find_dates | ||
reduce_dates | ||
narrow_dates | ||
drive | ||
sea | ||
map_directory | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
===================== | ||
Narrow the Date Range | ||
===================== | ||
|
||
You may also reduce the frame to a specific date or range of dates using the **on_date()** or **in_range()** methods. For example, to keep only the elements of a frame having the date Aug. 2nd 1985, | ||
|
||
.. code-block:: python | ||
lrobject.on_date(keep="1985-08-02") | ||
You may also give a list. For example, keep any element with either the date above or Feb. 8th 1988, | ||
|
||
.. code-block:: python | ||
lrobject.on_date(keep=["1985-08-02", "1988-02-08"]) | ||
To do the exact opposite and remove specific dates, use the keyword **remove=** instead, | ||
|
||
.. code-block:: python | ||
lrobject.on_date(remove="1985-08-02") | ||
Or, | ||
|
||
.. code-block:: python | ||
lrobject.on_date(remove=["1985-08-02", "1988-02-08"]) | ||
To specify a range or ranges rather than specific dates, use **in_range()** instead. Ranges must be two element lists. For example, to keep all elements having dates between Aug. 1st and Sept. 1st 1985, | ||
|
||
.. code-block:: python | ||
lrobject.in_range(keep=["1985-08-01", "1985-09-01"]) | ||
As with **on_date()**, you may also give a list of ranges (list of lists). For example, keep only elements either in the range above or in the month of Dec. 1985, | ||
|
||
.. code-block:: python | ||
lrobject.in_range(keep=[["1985-08-01", "1985-09-01"], ["1985-12-01", "1985-12-31"]]) | ||
Again, you may also do the exact opposite with the keyword arg **remove=**, | ||
|
||
.. code-block:: python | ||
lrobject.in_range(remove=["1985-08-01", "1985-09-01"]) | ||
Or, | ||
|
||
.. code-block:: python | ||
lrobject.in_range(remove=[["1985-08-01", "1985-09-01"], ["1985-12-01", "1985-12-31"]]) | ||
There is also an option to remove or keep any elements with 0 for date using the keyword arg **strip_zeros=**. Default is **True** for **on_date()** and **in_range()**. For example, | ||
|
||
.. code-block:: python | ||
lrobject.on_date(keep="1985-08-02") #removes date=0 elements | ||
lrobject.on_date(keep="1985-08-02", strip_zeros=False) #keeps date=0 elements | ||
And, | ||
|
||
.. code-block:: python | ||
lrobject.in_range(keep=["1985-08-01", "1985-09-01"]) #removes date=0 | ||
lrobject.in_range(keep=["1985-08-01", "1985-09-01"], | ||
strip_zeros=False) #keeps date=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.