File tree 1 file changed +0
-33
lines changed
1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -1854,39 +1854,6 @@ def validate_inclusiveness(inclusive):
1854
1854
return left_right_inclusive
1855
1855
1856
1856
1857
- def validate_endpoints (closed ):
1858
- """
1859
- Check that the `closed` argument is among [None, "left", "right"]
1860
-
1861
- Parameters
1862
- ----------
1863
- closed : {None, "left", "right"}
1864
-
1865
- Returns
1866
- -------
1867
- left_closed : bool
1868
- right_closed : bool
1869
-
1870
- Raises
1871
- ------
1872
- ValueError : if argument is not among valid values
1873
- """
1874
- left_closed = False
1875
- right_closed = False
1876
-
1877
- if closed is None :
1878
- left_closed = True
1879
- right_closed = True
1880
- elif closed == "left" :
1881
- left_closed = True
1882
- elif closed == "right" :
1883
- right_closed = True
1884
- else :
1885
- raise ValueError ("Closed has to be either 'left', 'right' or None" )
1886
-
1887
- return left_closed , right_closed
1888
-
1889
-
1890
1857
def validate_inferred_freq (freq , inferred_freq , freq_infer ):
1891
1858
"""
1892
1859
If the user passes a freq and another freq is inferred from passed data,
You can’t perform that action at this time.
0 commit comments