Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +24 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__init__.py +85 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__pycache__/__init__.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/base.cpython-312-x86_64-linux-gnu.so +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/ccalendar.cpython-312-x86_64-linux-gnu.so +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/ccalendar.pyi +12 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/conversion.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/conversion.pyi +14 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/dtypes.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/dtypes.pyi +88 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/fields.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/fields.pyi +62 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/nattype.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/nattype.pyi +135 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/np_datetime.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/np_datetime.pyi +21 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/offsets.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/offsets.pyi +283 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/parsing.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/parsing.pyi +38 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/period.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/period.pyi +135 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/strptime.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/strptime.pyi +13 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timedeltas.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timedeltas.pyi +169 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timestamps.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timestamps.pyi +240 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timezones.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timezones.pyi +21 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/tzconversion.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/tzconversion.pyi +21 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/vectorized.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/vectorized.pyi +43 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/__init__.py +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/__pycache__/__init__.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/aggregations.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/aggregations.pyi +127 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/indexers.cpython-312-x86_64-linux-gnu.so +3 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/indexers.pyi +12 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/__init__.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_arrow_string_mixins.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_mixins.cpython-312.pyc +0 -0
- platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_ranges.cpython-312.pyc +0 -0
.gitattributes
CHANGED
|
@@ -3442,3 +3442,27 @@ platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/indexes/__py
|
|
| 3442 |
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/multi.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3443 |
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/generic.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3444 |
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/groupby.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3442 |
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/multi.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3443 |
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/generic.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3444 |
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/groupby.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3445 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/categorical.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3446 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/array.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3447 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/accessor.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3448 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pytables.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3449 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/stata.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3450 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3451 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/indexers.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3452 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/aggregations.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3453 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/conversion.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3454 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timestamps.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3455 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/offsets.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3456 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/period.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3457 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timedeltas.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3458 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/strptime.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3459 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/fields.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3460 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/parsing.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3461 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/dtypes.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3462 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/vectorized.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3463 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/tzconversion.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3464 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/nattype.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3465 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timezones.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3466 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/np_datetime.cpython-312-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
| 3467 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_algos.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
| 3468 |
+
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_datetime.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (1.53 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc
ADDED
|
Binary file (32.4 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc
ADDED
|
Binary file (999 Bytes). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc
ADDED
|
Binary file (2.06 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc
ADDED
|
Binary file (6.09 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (584 Bytes). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__init__.py
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__all__ = [
|
| 2 |
+
"dtypes",
|
| 3 |
+
"localize_pydatetime",
|
| 4 |
+
"NaT",
|
| 5 |
+
"NaTType",
|
| 6 |
+
"iNaT",
|
| 7 |
+
"nat_strings",
|
| 8 |
+
"OutOfBoundsDatetime",
|
| 9 |
+
"OutOfBoundsTimedelta",
|
| 10 |
+
"IncompatibleFrequency",
|
| 11 |
+
"Period",
|
| 12 |
+
"Resolution",
|
| 13 |
+
"Timedelta",
|
| 14 |
+
"normalize_i8_timestamps",
|
| 15 |
+
"is_date_array_normalized",
|
| 16 |
+
"dt64arr_to_periodarr",
|
| 17 |
+
"delta_to_nanoseconds",
|
| 18 |
+
"ints_to_pydatetime",
|
| 19 |
+
"ints_to_pytimedelta",
|
| 20 |
+
"get_resolution",
|
| 21 |
+
"Timestamp",
|
| 22 |
+
"tz_convert_from_utc_single",
|
| 23 |
+
"tz_convert_from_utc",
|
| 24 |
+
"to_offset",
|
| 25 |
+
"Tick",
|
| 26 |
+
"BaseOffset",
|
| 27 |
+
"tz_compare",
|
| 28 |
+
"is_unitless",
|
| 29 |
+
"astype_overflowsafe",
|
| 30 |
+
"get_unit_from_dtype",
|
| 31 |
+
"periods_per_day",
|
| 32 |
+
"periods_per_second",
|
| 33 |
+
"is_supported_unit",
|
| 34 |
+
"npy_unit_to_abbrev",
|
| 35 |
+
"get_supported_reso",
|
| 36 |
+
]
|
| 37 |
+
|
| 38 |
+
from pandas._libs.tslibs import dtypes # pylint: disable=import-self
|
| 39 |
+
from pandas._libs.tslibs.conversion import localize_pydatetime
|
| 40 |
+
from pandas._libs.tslibs.dtypes import (
|
| 41 |
+
Resolution,
|
| 42 |
+
get_supported_reso,
|
| 43 |
+
is_supported_unit,
|
| 44 |
+
npy_unit_to_abbrev,
|
| 45 |
+
periods_per_day,
|
| 46 |
+
periods_per_second,
|
| 47 |
+
)
|
| 48 |
+
from pandas._libs.tslibs.nattype import (
|
| 49 |
+
NaT,
|
| 50 |
+
NaTType,
|
| 51 |
+
iNaT,
|
| 52 |
+
nat_strings,
|
| 53 |
+
)
|
| 54 |
+
from pandas._libs.tslibs.np_datetime import (
|
| 55 |
+
OutOfBoundsDatetime,
|
| 56 |
+
OutOfBoundsTimedelta,
|
| 57 |
+
astype_overflowsafe,
|
| 58 |
+
is_unitless,
|
| 59 |
+
py_get_unit_from_dtype as get_unit_from_dtype,
|
| 60 |
+
)
|
| 61 |
+
from pandas._libs.tslibs.offsets import (
|
| 62 |
+
BaseOffset,
|
| 63 |
+
Tick,
|
| 64 |
+
to_offset,
|
| 65 |
+
)
|
| 66 |
+
from pandas._libs.tslibs.period import (
|
| 67 |
+
IncompatibleFrequency,
|
| 68 |
+
Period,
|
| 69 |
+
)
|
| 70 |
+
from pandas._libs.tslibs.timedeltas import (
|
| 71 |
+
Timedelta,
|
| 72 |
+
delta_to_nanoseconds,
|
| 73 |
+
ints_to_pytimedelta,
|
| 74 |
+
)
|
| 75 |
+
from pandas._libs.tslibs.timestamps import Timestamp
|
| 76 |
+
from pandas._libs.tslibs.timezones import tz_compare
|
| 77 |
+
from pandas._libs.tslibs.tzconversion import tz_convert_from_utc_single
|
| 78 |
+
from pandas._libs.tslibs.vectorized import (
|
| 79 |
+
dt64arr_to_periodarr,
|
| 80 |
+
get_resolution,
|
| 81 |
+
ints_to_pydatetime,
|
| 82 |
+
is_date_array_normalized,
|
| 83 |
+
normalize_i8_timestamps,
|
| 84 |
+
tz_convert_from_utc,
|
| 85 |
+
)
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (1.86 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/base.cpython-312-x86_64-linux-gnu.so
ADDED
|
Binary file (45.5 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/ccalendar.cpython-312-x86_64-linux-gnu.so
ADDED
|
Binary file (68.6 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/ccalendar.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DAYS: list[str]
|
| 2 |
+
MONTH_ALIASES: dict[int, str]
|
| 3 |
+
MONTH_NUMBERS: dict[str, int]
|
| 4 |
+
MONTHS: list[str]
|
| 5 |
+
int_to_weekday: dict[int, str]
|
| 6 |
+
|
| 7 |
+
def get_firstbday(year: int, month: int) -> int: ...
|
| 8 |
+
def get_lastbday(year: int, month: int) -> int: ...
|
| 9 |
+
def get_day_of_year(year: int, month: int, day: int) -> int: ...
|
| 10 |
+
def get_iso_calendar(year: int, month: int, day: int) -> tuple[int, int, int]: ...
|
| 11 |
+
def get_week_of_year(year: int, month: int, day: int) -> int: ...
|
| 12 |
+
def get_days_in_month(year: int, month: int) -> int: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/conversion.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cebcd496e72988522bb3727192b77229f28326ead0919af591ba5df95e728d7a
|
| 3 |
+
size 240096
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/conversion.pyi
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import (
|
| 2 |
+
datetime,
|
| 3 |
+
tzinfo,
|
| 4 |
+
)
|
| 5 |
+
|
| 6 |
+
import numpy as np
|
| 7 |
+
|
| 8 |
+
DT64NS_DTYPE: np.dtype
|
| 9 |
+
TD64NS_DTYPE: np.dtype
|
| 10 |
+
|
| 11 |
+
def precision_from_unit(
|
| 12 |
+
unit: str,
|
| 13 |
+
) -> tuple[int, int]: ... # (int64_t, _)
|
| 14 |
+
def localize_pydatetime(dt: datetime, tz: tzinfo | None) -> datetime: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/dtypes.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7201be9573ce29419cc204c96a801f20fd968ef2c06469911b46b4017bd12e3e
|
| 3 |
+
size 158752
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/dtypes.pyi
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from enum import Enum
|
| 2 |
+
|
| 3 |
+
# These are not public API, but are exposed in the .pyi file because they
|
| 4 |
+
# are imported in tests.
|
| 5 |
+
_attrname_to_abbrevs: dict[str, str]
|
| 6 |
+
_period_code_map: dict[str, int]
|
| 7 |
+
|
| 8 |
+
def periods_per_day(reso: int) -> int: ...
|
| 9 |
+
def periods_per_second(reso: int) -> int: ...
|
| 10 |
+
def is_supported_unit(reso: int) -> bool: ...
|
| 11 |
+
def npy_unit_to_abbrev(reso: int) -> str: ...
|
| 12 |
+
def get_supported_reso(reso: int) -> int: ...
|
| 13 |
+
def abbrev_to_npy_unit(abbrev: str) -> int: ...
|
| 14 |
+
|
| 15 |
+
class PeriodDtypeBase:
|
| 16 |
+
_dtype_code: int # PeriodDtypeCode
|
| 17 |
+
_n: int
|
| 18 |
+
|
| 19 |
+
# actually __cinit__
|
| 20 |
+
def __new__(cls, code: int, n: int): ...
|
| 21 |
+
@property
|
| 22 |
+
def _freq_group_code(self) -> int: ...
|
| 23 |
+
@property
|
| 24 |
+
def _resolution_obj(self) -> Resolution: ...
|
| 25 |
+
def _get_to_timestamp_base(self) -> int: ...
|
| 26 |
+
@property
|
| 27 |
+
def _freqstr(self) -> str: ...
|
| 28 |
+
def __hash__(self) -> int: ...
|
| 29 |
+
def _is_tick_like(self) -> bool: ...
|
| 30 |
+
@property
|
| 31 |
+
def _creso(self) -> int: ...
|
| 32 |
+
@property
|
| 33 |
+
def _td64_unit(self) -> str: ...
|
| 34 |
+
|
| 35 |
+
class FreqGroup(Enum):
|
| 36 |
+
FR_ANN: int
|
| 37 |
+
FR_QTR: int
|
| 38 |
+
FR_MTH: int
|
| 39 |
+
FR_WK: int
|
| 40 |
+
FR_BUS: int
|
| 41 |
+
FR_DAY: int
|
| 42 |
+
FR_HR: int
|
| 43 |
+
FR_MIN: int
|
| 44 |
+
FR_SEC: int
|
| 45 |
+
FR_MS: int
|
| 46 |
+
FR_US: int
|
| 47 |
+
FR_NS: int
|
| 48 |
+
FR_UND: int
|
| 49 |
+
@staticmethod
|
| 50 |
+
def from_period_dtype_code(code: int) -> FreqGroup: ...
|
| 51 |
+
|
| 52 |
+
class Resolution(Enum):
|
| 53 |
+
RESO_NS: int
|
| 54 |
+
RESO_US: int
|
| 55 |
+
RESO_MS: int
|
| 56 |
+
RESO_SEC: int
|
| 57 |
+
RESO_MIN: int
|
| 58 |
+
RESO_HR: int
|
| 59 |
+
RESO_DAY: int
|
| 60 |
+
RESO_MTH: int
|
| 61 |
+
RESO_QTR: int
|
| 62 |
+
RESO_YR: int
|
| 63 |
+
def __lt__(self, other: Resolution) -> bool: ...
|
| 64 |
+
def __ge__(self, other: Resolution) -> bool: ...
|
| 65 |
+
@property
|
| 66 |
+
def attrname(self) -> str: ...
|
| 67 |
+
@classmethod
|
| 68 |
+
def from_attrname(cls, attrname: str) -> Resolution: ...
|
| 69 |
+
@classmethod
|
| 70 |
+
def get_reso_from_freqstr(cls, freq: str) -> Resolution: ...
|
| 71 |
+
@property
|
| 72 |
+
def attr_abbrev(self) -> str: ...
|
| 73 |
+
|
| 74 |
+
class NpyDatetimeUnit(Enum):
|
| 75 |
+
NPY_FR_Y: int
|
| 76 |
+
NPY_FR_M: int
|
| 77 |
+
NPY_FR_W: int
|
| 78 |
+
NPY_FR_D: int
|
| 79 |
+
NPY_FR_h: int
|
| 80 |
+
NPY_FR_m: int
|
| 81 |
+
NPY_FR_s: int
|
| 82 |
+
NPY_FR_ms: int
|
| 83 |
+
NPY_FR_us: int
|
| 84 |
+
NPY_FR_ns: int
|
| 85 |
+
NPY_FR_ps: int
|
| 86 |
+
NPY_FR_fs: int
|
| 87 |
+
NPY_FR_as: int
|
| 88 |
+
NPY_FR_GENERIC: int
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/fields.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c59654a3f70908a3930b71e456f26a9df6ce85496bcacbf0086acb25d4d36fc1
|
| 3 |
+
size 312200
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/fields.pyi
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
from pandas._typing import npt
|
| 4 |
+
|
| 5 |
+
def build_field_sarray(
|
| 6 |
+
dtindex: npt.NDArray[np.int64], # const int64_t[:]
|
| 7 |
+
reso: int, # NPY_DATETIMEUNIT
|
| 8 |
+
) -> np.ndarray: ...
|
| 9 |
+
def month_position_check(fields, weekdays) -> str | None: ...
|
| 10 |
+
def get_date_name_field(
|
| 11 |
+
dtindex: npt.NDArray[np.int64], # const int64_t[:]
|
| 12 |
+
field: str,
|
| 13 |
+
locale: str | None = ...,
|
| 14 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 15 |
+
) -> npt.NDArray[np.object_]: ...
|
| 16 |
+
def get_start_end_field(
|
| 17 |
+
dtindex: npt.NDArray[np.int64],
|
| 18 |
+
field: str,
|
| 19 |
+
freqstr: str | None = ...,
|
| 20 |
+
month_kw: int = ...,
|
| 21 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 22 |
+
) -> npt.NDArray[np.bool_]: ...
|
| 23 |
+
def get_date_field(
|
| 24 |
+
dtindex: npt.NDArray[np.int64], # const int64_t[:]
|
| 25 |
+
field: str,
|
| 26 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 27 |
+
) -> npt.NDArray[np.int32]: ...
|
| 28 |
+
def get_timedelta_field(
|
| 29 |
+
tdindex: npt.NDArray[np.int64], # const int64_t[:]
|
| 30 |
+
field: str,
|
| 31 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 32 |
+
) -> npt.NDArray[np.int32]: ...
|
| 33 |
+
def get_timedelta_days(
|
| 34 |
+
tdindex: npt.NDArray[np.int64], # const int64_t[:]
|
| 35 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 36 |
+
) -> npt.NDArray[np.int64]: ...
|
| 37 |
+
def isleapyear_arr(
|
| 38 |
+
years: np.ndarray,
|
| 39 |
+
) -> npt.NDArray[np.bool_]: ...
|
| 40 |
+
def build_isocalendar_sarray(
|
| 41 |
+
dtindex: npt.NDArray[np.int64], # const int64_t[:]
|
| 42 |
+
reso: int, # NPY_DATETIMEUNIT
|
| 43 |
+
) -> np.ndarray: ...
|
| 44 |
+
def _get_locale_names(name_type: str, locale: str | None = ...): ...
|
| 45 |
+
|
| 46 |
+
class RoundTo:
|
| 47 |
+
@property
|
| 48 |
+
def MINUS_INFTY(self) -> int: ...
|
| 49 |
+
@property
|
| 50 |
+
def PLUS_INFTY(self) -> int: ...
|
| 51 |
+
@property
|
| 52 |
+
def NEAREST_HALF_EVEN(self) -> int: ...
|
| 53 |
+
@property
|
| 54 |
+
def NEAREST_HALF_PLUS_INFTY(self) -> int: ...
|
| 55 |
+
@property
|
| 56 |
+
def NEAREST_HALF_MINUS_INFTY(self) -> int: ...
|
| 57 |
+
|
| 58 |
+
def round_nsint64(
|
| 59 |
+
values: npt.NDArray[np.int64],
|
| 60 |
+
mode: RoundTo,
|
| 61 |
+
nanos: int,
|
| 62 |
+
) -> npt.NDArray[np.int64]: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/nattype.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f59d26933f1000f55ef701a2e5c91625ed86e2a2306192d983a03ac89fb13001
|
| 3 |
+
size 221664
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/nattype.pyi
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import (
|
| 2 |
+
datetime,
|
| 3 |
+
timedelta,
|
| 4 |
+
tzinfo as _tzinfo,
|
| 5 |
+
)
|
| 6 |
+
import typing
|
| 7 |
+
|
| 8 |
+
import numpy as np
|
| 9 |
+
|
| 10 |
+
from pandas._libs.tslibs.period import Period
|
| 11 |
+
|
| 12 |
+
NaT: NaTType
|
| 13 |
+
iNaT: int
|
| 14 |
+
nat_strings: set[str]
|
| 15 |
+
|
| 16 |
+
_NaTComparisonTypes: typing.TypeAlias = (
|
| 17 |
+
datetime | timedelta | Period | np.datetime64 | np.timedelta64
|
| 18 |
+
)
|
| 19 |
+
|
| 20 |
+
class _NatComparison:
|
| 21 |
+
def __call__(self, other: _NaTComparisonTypes) -> bool: ...
|
| 22 |
+
|
| 23 |
+
class NaTType:
|
| 24 |
+
_value: np.int64
|
| 25 |
+
@property
|
| 26 |
+
def value(self) -> int: ...
|
| 27 |
+
@property
|
| 28 |
+
def asm8(self) -> np.datetime64: ...
|
| 29 |
+
def to_datetime64(self) -> np.datetime64: ...
|
| 30 |
+
def to_numpy(
|
| 31 |
+
self, dtype: np.dtype | str | None = ..., copy: bool = ...
|
| 32 |
+
) -> np.datetime64 | np.timedelta64: ...
|
| 33 |
+
@property
|
| 34 |
+
def is_leap_year(self) -> bool: ...
|
| 35 |
+
@property
|
| 36 |
+
def is_month_start(self) -> bool: ...
|
| 37 |
+
@property
|
| 38 |
+
def is_quarter_start(self) -> bool: ...
|
| 39 |
+
@property
|
| 40 |
+
def is_year_start(self) -> bool: ...
|
| 41 |
+
@property
|
| 42 |
+
def is_month_end(self) -> bool: ...
|
| 43 |
+
@property
|
| 44 |
+
def is_quarter_end(self) -> bool: ...
|
| 45 |
+
@property
|
| 46 |
+
def is_year_end(self) -> bool: ...
|
| 47 |
+
@property
|
| 48 |
+
def day_of_year(self) -> float: ...
|
| 49 |
+
@property
|
| 50 |
+
def dayofyear(self) -> float: ...
|
| 51 |
+
@property
|
| 52 |
+
def days_in_month(self) -> float: ...
|
| 53 |
+
@property
|
| 54 |
+
def daysinmonth(self) -> float: ...
|
| 55 |
+
@property
|
| 56 |
+
def day_of_week(self) -> float: ...
|
| 57 |
+
@property
|
| 58 |
+
def dayofweek(self) -> float: ...
|
| 59 |
+
@property
|
| 60 |
+
def week(self) -> float: ...
|
| 61 |
+
@property
|
| 62 |
+
def weekofyear(self) -> float: ...
|
| 63 |
+
def day_name(self) -> float: ...
|
| 64 |
+
def month_name(self) -> float: ...
|
| 65 |
+
def weekday(self) -> float: ...
|
| 66 |
+
def isoweekday(self) -> float: ...
|
| 67 |
+
def total_seconds(self) -> float: ...
|
| 68 |
+
def today(self, *args, **kwargs) -> NaTType: ...
|
| 69 |
+
def now(self, *args, **kwargs) -> NaTType: ...
|
| 70 |
+
def to_pydatetime(self) -> NaTType: ...
|
| 71 |
+
def date(self) -> NaTType: ...
|
| 72 |
+
def round(self) -> NaTType: ...
|
| 73 |
+
def floor(self) -> NaTType: ...
|
| 74 |
+
def ceil(self) -> NaTType: ...
|
| 75 |
+
@property
|
| 76 |
+
def tzinfo(self) -> None: ...
|
| 77 |
+
@property
|
| 78 |
+
def tz(self) -> None: ...
|
| 79 |
+
def tz_convert(self, tz: _tzinfo | str | None) -> NaTType: ...
|
| 80 |
+
def tz_localize(
|
| 81 |
+
self,
|
| 82 |
+
tz: _tzinfo | str | None,
|
| 83 |
+
ambiguous: str = ...,
|
| 84 |
+
nonexistent: str = ...,
|
| 85 |
+
) -> NaTType: ...
|
| 86 |
+
def replace(
|
| 87 |
+
self,
|
| 88 |
+
year: int | None = ...,
|
| 89 |
+
month: int | None = ...,
|
| 90 |
+
day: int | None = ...,
|
| 91 |
+
hour: int | None = ...,
|
| 92 |
+
minute: int | None = ...,
|
| 93 |
+
second: int | None = ...,
|
| 94 |
+
microsecond: int | None = ...,
|
| 95 |
+
nanosecond: int | None = ...,
|
| 96 |
+
tzinfo: _tzinfo | None = ...,
|
| 97 |
+
fold: int | None = ...,
|
| 98 |
+
) -> NaTType: ...
|
| 99 |
+
@property
|
| 100 |
+
def year(self) -> float: ...
|
| 101 |
+
@property
|
| 102 |
+
def quarter(self) -> float: ...
|
| 103 |
+
@property
|
| 104 |
+
def month(self) -> float: ...
|
| 105 |
+
@property
|
| 106 |
+
def day(self) -> float: ...
|
| 107 |
+
@property
|
| 108 |
+
def hour(self) -> float: ...
|
| 109 |
+
@property
|
| 110 |
+
def minute(self) -> float: ...
|
| 111 |
+
@property
|
| 112 |
+
def second(self) -> float: ...
|
| 113 |
+
@property
|
| 114 |
+
def millisecond(self) -> float: ...
|
| 115 |
+
@property
|
| 116 |
+
def microsecond(self) -> float: ...
|
| 117 |
+
@property
|
| 118 |
+
def nanosecond(self) -> float: ...
|
| 119 |
+
# inject Timedelta properties
|
| 120 |
+
@property
|
| 121 |
+
def days(self) -> float: ...
|
| 122 |
+
@property
|
| 123 |
+
def microseconds(self) -> float: ...
|
| 124 |
+
@property
|
| 125 |
+
def nanoseconds(self) -> float: ...
|
| 126 |
+
# inject Period properties
|
| 127 |
+
@property
|
| 128 |
+
def qyear(self) -> float: ...
|
| 129 |
+
def __eq__(self, other: object) -> bool: ...
|
| 130 |
+
def __ne__(self, other: object) -> bool: ...
|
| 131 |
+
__lt__: _NatComparison
|
| 132 |
+
__le__: _NatComparison
|
| 133 |
+
__gt__: _NatComparison
|
| 134 |
+
__ge__: _NatComparison
|
| 135 |
+
def as_unit(self, unit: str, round_ok: bool = ...) -> NaTType: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/np_datetime.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2addd6f5a064bb7d356b4be39deaf4588069020f0902f55d88d17f80bee41596
|
| 3 |
+
size 118784
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/np_datetime.pyi
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
from pandas._typing import npt
|
| 4 |
+
|
| 5 |
+
class OutOfBoundsDatetime(ValueError): ...
|
| 6 |
+
class OutOfBoundsTimedelta(ValueError): ...
|
| 7 |
+
|
| 8 |
+
# only exposed for testing
|
| 9 |
+
def py_get_unit_from_dtype(dtype: np.dtype): ...
|
| 10 |
+
def py_td64_to_tdstruct(td64: int, unit: int) -> dict: ...
|
| 11 |
+
def astype_overflowsafe(
|
| 12 |
+
arr: np.ndarray,
|
| 13 |
+
dtype: np.dtype,
|
| 14 |
+
copy: bool = ...,
|
| 15 |
+
round_ok: bool = ...,
|
| 16 |
+
is_coerce: bool = ...,
|
| 17 |
+
) -> np.ndarray: ...
|
| 18 |
+
def is_unitless(dtype: np.dtype) -> bool: ...
|
| 19 |
+
def compare_mismatched_resolutions(
|
| 20 |
+
left: np.ndarray, right: np.ndarray, op
|
| 21 |
+
) -> npt.NDArray[np.bool_]: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/offsets.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:751241c519f194f37e7f7d4c57743f9db05cf1f112330157aa9e0360f3203290
|
| 3 |
+
size 971168
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/offsets.pyi
ADDED
|
@@ -0,0 +1,283 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import (
|
| 2 |
+
datetime,
|
| 3 |
+
time,
|
| 4 |
+
timedelta,
|
| 5 |
+
)
|
| 6 |
+
from typing import (
|
| 7 |
+
Any,
|
| 8 |
+
Collection,
|
| 9 |
+
Literal,
|
| 10 |
+
TypeVar,
|
| 11 |
+
overload,
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
import numpy as np
|
| 15 |
+
|
| 16 |
+
from pandas._libs.tslibs.nattype import NaTType
|
| 17 |
+
from pandas._typing import (
|
| 18 |
+
OffsetCalendar,
|
| 19 |
+
Self,
|
| 20 |
+
npt,
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
+
from .timedeltas import Timedelta
|
| 24 |
+
|
| 25 |
+
_BaseOffsetT = TypeVar("_BaseOffsetT", bound=BaseOffset)
|
| 26 |
+
_DatetimeT = TypeVar("_DatetimeT", bound=datetime)
|
| 27 |
+
_TimedeltaT = TypeVar("_TimedeltaT", bound=timedelta)
|
| 28 |
+
|
| 29 |
+
_relativedelta_kwds: set[str]
|
| 30 |
+
prefix_mapping: dict[str, type]
|
| 31 |
+
|
| 32 |
+
class ApplyTypeError(TypeError): ...
|
| 33 |
+
|
| 34 |
+
class BaseOffset:
|
| 35 |
+
n: int
|
| 36 |
+
def __init__(self, n: int = ..., normalize: bool = ...) -> None: ...
|
| 37 |
+
def __eq__(self, other) -> bool: ...
|
| 38 |
+
def __ne__(self, other) -> bool: ...
|
| 39 |
+
def __hash__(self) -> int: ...
|
| 40 |
+
@property
|
| 41 |
+
def kwds(self) -> dict: ...
|
| 42 |
+
@property
|
| 43 |
+
def base(self) -> BaseOffset: ...
|
| 44 |
+
@overload
|
| 45 |
+
def __add__(self, other: npt.NDArray[np.object_]) -> npt.NDArray[np.object_]: ...
|
| 46 |
+
@overload
|
| 47 |
+
def __add__(self, other: BaseOffset) -> Self: ...
|
| 48 |
+
@overload
|
| 49 |
+
def __add__(self, other: _DatetimeT) -> _DatetimeT: ...
|
| 50 |
+
@overload
|
| 51 |
+
def __add__(self, other: _TimedeltaT) -> _TimedeltaT: ...
|
| 52 |
+
@overload
|
| 53 |
+
def __radd__(self, other: npt.NDArray[np.object_]) -> npt.NDArray[np.object_]: ...
|
| 54 |
+
@overload
|
| 55 |
+
def __radd__(self, other: BaseOffset) -> Self: ...
|
| 56 |
+
@overload
|
| 57 |
+
def __radd__(self, other: _DatetimeT) -> _DatetimeT: ...
|
| 58 |
+
@overload
|
| 59 |
+
def __radd__(self, other: _TimedeltaT) -> _TimedeltaT: ...
|
| 60 |
+
@overload
|
| 61 |
+
def __radd__(self, other: NaTType) -> NaTType: ...
|
| 62 |
+
def __sub__(self, other: BaseOffset) -> Self: ...
|
| 63 |
+
@overload
|
| 64 |
+
def __rsub__(self, other: npt.NDArray[np.object_]) -> npt.NDArray[np.object_]: ...
|
| 65 |
+
@overload
|
| 66 |
+
def __rsub__(self, other: BaseOffset): ...
|
| 67 |
+
@overload
|
| 68 |
+
def __rsub__(self, other: _DatetimeT) -> _DatetimeT: ...
|
| 69 |
+
@overload
|
| 70 |
+
def __rsub__(self, other: _TimedeltaT) -> _TimedeltaT: ...
|
| 71 |
+
@overload
|
| 72 |
+
def __mul__(self, other: np.ndarray) -> np.ndarray: ...
|
| 73 |
+
@overload
|
| 74 |
+
def __mul__(self, other: int): ...
|
| 75 |
+
@overload
|
| 76 |
+
def __rmul__(self, other: np.ndarray) -> np.ndarray: ...
|
| 77 |
+
@overload
|
| 78 |
+
def __rmul__(self, other: int) -> Self: ...
|
| 79 |
+
def __neg__(self) -> Self: ...
|
| 80 |
+
def copy(self) -> Self: ...
|
| 81 |
+
@property
|
| 82 |
+
def name(self) -> str: ...
|
| 83 |
+
@property
|
| 84 |
+
def rule_code(self) -> str: ...
|
| 85 |
+
@property
|
| 86 |
+
def freqstr(self) -> str: ...
|
| 87 |
+
def _apply(self, other): ...
|
| 88 |
+
def _apply_array(self, dtarr) -> None: ...
|
| 89 |
+
def rollback(self, dt: datetime) -> datetime: ...
|
| 90 |
+
def rollforward(self, dt: datetime) -> datetime: ...
|
| 91 |
+
def is_on_offset(self, dt: datetime) -> bool: ...
|
| 92 |
+
def __setstate__(self, state) -> None: ...
|
| 93 |
+
def __getstate__(self): ...
|
| 94 |
+
@property
|
| 95 |
+
def nanos(self) -> int: ...
|
| 96 |
+
def is_anchored(self) -> bool: ...
|
| 97 |
+
|
| 98 |
+
def _get_offset(name: str) -> BaseOffset: ...
|
| 99 |
+
|
| 100 |
+
class SingleConstructorOffset(BaseOffset):
|
| 101 |
+
@classmethod
|
| 102 |
+
def _from_name(cls, suffix: None = ...): ...
|
| 103 |
+
def __reduce__(self): ...
|
| 104 |
+
|
| 105 |
+
@overload
|
| 106 |
+
def to_offset(freq: None) -> None: ...
|
| 107 |
+
@overload
|
| 108 |
+
def to_offset(freq: _BaseOffsetT) -> _BaseOffsetT: ...
|
| 109 |
+
@overload
|
| 110 |
+
def to_offset(freq: timedelta | str) -> BaseOffset: ...
|
| 111 |
+
|
| 112 |
+
class Tick(SingleConstructorOffset):
|
| 113 |
+
_creso: int
|
| 114 |
+
_prefix: str
|
| 115 |
+
def __init__(self, n: int = ..., normalize: bool = ...) -> None: ...
|
| 116 |
+
@property
|
| 117 |
+
def delta(self) -> Timedelta: ...
|
| 118 |
+
@property
|
| 119 |
+
def nanos(self) -> int: ...
|
| 120 |
+
|
| 121 |
+
def delta_to_tick(delta: timedelta) -> Tick: ...
|
| 122 |
+
|
| 123 |
+
class Day(Tick): ...
|
| 124 |
+
class Hour(Tick): ...
|
| 125 |
+
class Minute(Tick): ...
|
| 126 |
+
class Second(Tick): ...
|
| 127 |
+
class Milli(Tick): ...
|
| 128 |
+
class Micro(Tick): ...
|
| 129 |
+
class Nano(Tick): ...
|
| 130 |
+
|
| 131 |
+
class RelativeDeltaOffset(BaseOffset):
|
| 132 |
+
def __init__(self, n: int = ..., normalize: bool = ..., **kwds: Any) -> None: ...
|
| 133 |
+
|
| 134 |
+
class BusinessMixin(SingleConstructorOffset):
|
| 135 |
+
def __init__(
|
| 136 |
+
self, n: int = ..., normalize: bool = ..., offset: timedelta = ...
|
| 137 |
+
) -> None: ...
|
| 138 |
+
|
| 139 |
+
class BusinessDay(BusinessMixin): ...
|
| 140 |
+
|
| 141 |
+
class BusinessHour(BusinessMixin):
|
| 142 |
+
def __init__(
|
| 143 |
+
self,
|
| 144 |
+
n: int = ...,
|
| 145 |
+
normalize: bool = ...,
|
| 146 |
+
start: str | time | Collection[str | time] = ...,
|
| 147 |
+
end: str | time | Collection[str | time] = ...,
|
| 148 |
+
offset: timedelta = ...,
|
| 149 |
+
) -> None: ...
|
| 150 |
+
|
| 151 |
+
class WeekOfMonthMixin(SingleConstructorOffset):
|
| 152 |
+
def __init__(
|
| 153 |
+
self, n: int = ..., normalize: bool = ..., weekday: int = ...
|
| 154 |
+
) -> None: ...
|
| 155 |
+
|
| 156 |
+
class YearOffset(SingleConstructorOffset):
|
| 157 |
+
def __init__(
|
| 158 |
+
self, n: int = ..., normalize: bool = ..., month: int | None = ...
|
| 159 |
+
) -> None: ...
|
| 160 |
+
|
| 161 |
+
class BYearEnd(YearOffset): ...
|
| 162 |
+
class BYearBegin(YearOffset): ...
|
| 163 |
+
class YearEnd(YearOffset): ...
|
| 164 |
+
class YearBegin(YearOffset): ...
|
| 165 |
+
|
| 166 |
+
class QuarterOffset(SingleConstructorOffset):
|
| 167 |
+
def __init__(
|
| 168 |
+
self, n: int = ..., normalize: bool = ..., startingMonth: int | None = ...
|
| 169 |
+
) -> None: ...
|
| 170 |
+
|
| 171 |
+
class BQuarterEnd(QuarterOffset): ...
|
| 172 |
+
class BQuarterBegin(QuarterOffset): ...
|
| 173 |
+
class QuarterEnd(QuarterOffset): ...
|
| 174 |
+
class QuarterBegin(QuarterOffset): ...
|
| 175 |
+
class MonthOffset(SingleConstructorOffset): ...
|
| 176 |
+
class MonthEnd(MonthOffset): ...
|
| 177 |
+
class MonthBegin(MonthOffset): ...
|
| 178 |
+
class BusinessMonthEnd(MonthOffset): ...
|
| 179 |
+
class BusinessMonthBegin(MonthOffset): ...
|
| 180 |
+
|
| 181 |
+
class SemiMonthOffset(SingleConstructorOffset):
|
| 182 |
+
def __init__(
|
| 183 |
+
self, n: int = ..., normalize: bool = ..., day_of_month: int | None = ...
|
| 184 |
+
) -> None: ...
|
| 185 |
+
|
| 186 |
+
class SemiMonthEnd(SemiMonthOffset): ...
|
| 187 |
+
class SemiMonthBegin(SemiMonthOffset): ...
|
| 188 |
+
|
| 189 |
+
class Week(SingleConstructorOffset):
|
| 190 |
+
def __init__(
|
| 191 |
+
self, n: int = ..., normalize: bool = ..., weekday: int | None = ...
|
| 192 |
+
) -> None: ...
|
| 193 |
+
|
| 194 |
+
class WeekOfMonth(WeekOfMonthMixin):
|
| 195 |
+
def __init__(
|
| 196 |
+
self, n: int = ..., normalize: bool = ..., week: int = ..., weekday: int = ...
|
| 197 |
+
) -> None: ...
|
| 198 |
+
|
| 199 |
+
class LastWeekOfMonth(WeekOfMonthMixin): ...
|
| 200 |
+
|
| 201 |
+
class FY5253Mixin(SingleConstructorOffset):
|
| 202 |
+
def __init__(
|
| 203 |
+
self,
|
| 204 |
+
n: int = ...,
|
| 205 |
+
normalize: bool = ...,
|
| 206 |
+
weekday: int = ...,
|
| 207 |
+
startingMonth: int = ...,
|
| 208 |
+
variation: Literal["nearest", "last"] = ...,
|
| 209 |
+
) -> None: ...
|
| 210 |
+
|
| 211 |
+
class FY5253(FY5253Mixin): ...
|
| 212 |
+
|
| 213 |
+
class FY5253Quarter(FY5253Mixin):
|
| 214 |
+
def __init__(
|
| 215 |
+
self,
|
| 216 |
+
n: int = ...,
|
| 217 |
+
normalize: bool = ...,
|
| 218 |
+
weekday: int = ...,
|
| 219 |
+
startingMonth: int = ...,
|
| 220 |
+
qtr_with_extra_week: int = ...,
|
| 221 |
+
variation: Literal["nearest", "last"] = ...,
|
| 222 |
+
) -> None: ...
|
| 223 |
+
|
| 224 |
+
class Easter(SingleConstructorOffset): ...
|
| 225 |
+
|
| 226 |
+
class _CustomBusinessMonth(BusinessMixin):
|
| 227 |
+
def __init__(
|
| 228 |
+
self,
|
| 229 |
+
n: int = ...,
|
| 230 |
+
normalize: bool = ...,
|
| 231 |
+
weekmask: str = ...,
|
| 232 |
+
holidays: list | None = ...,
|
| 233 |
+
calendar: OffsetCalendar | None = ...,
|
| 234 |
+
offset: timedelta = ...,
|
| 235 |
+
) -> None: ...
|
| 236 |
+
|
| 237 |
+
class CustomBusinessDay(BusinessDay):
|
| 238 |
+
def __init__(
|
| 239 |
+
self,
|
| 240 |
+
n: int = ...,
|
| 241 |
+
normalize: bool = ...,
|
| 242 |
+
weekmask: str = ...,
|
| 243 |
+
holidays: list | None = ...,
|
| 244 |
+
calendar: OffsetCalendar | None = ...,
|
| 245 |
+
offset: timedelta = ...,
|
| 246 |
+
) -> None: ...
|
| 247 |
+
|
| 248 |
+
class CustomBusinessHour(BusinessHour):
|
| 249 |
+
def __init__(
|
| 250 |
+
self,
|
| 251 |
+
n: int = ...,
|
| 252 |
+
normalize: bool = ...,
|
| 253 |
+
weekmask: str = ...,
|
| 254 |
+
holidays: list | None = ...,
|
| 255 |
+
calendar: OffsetCalendar | None = ...,
|
| 256 |
+
start: str | time | Collection[str | time] = ...,
|
| 257 |
+
end: str | time | Collection[str | time] = ...,
|
| 258 |
+
offset: timedelta = ...,
|
| 259 |
+
) -> None: ...
|
| 260 |
+
|
| 261 |
+
class CustomBusinessMonthEnd(_CustomBusinessMonth): ...
|
| 262 |
+
class CustomBusinessMonthBegin(_CustomBusinessMonth): ...
|
| 263 |
+
class OffsetMeta(type): ...
|
| 264 |
+
class DateOffset(RelativeDeltaOffset, metaclass=OffsetMeta): ...
|
| 265 |
+
|
| 266 |
+
BDay = BusinessDay
|
| 267 |
+
BMonthEnd = BusinessMonthEnd
|
| 268 |
+
BMonthBegin = BusinessMonthBegin
|
| 269 |
+
CBMonthEnd = CustomBusinessMonthEnd
|
| 270 |
+
CBMonthBegin = CustomBusinessMonthBegin
|
| 271 |
+
CDay = CustomBusinessDay
|
| 272 |
+
|
| 273 |
+
def roll_qtrday(
|
| 274 |
+
other: datetime, n: int, month: int, day_opt: str, modby: int
|
| 275 |
+
) -> int: ...
|
| 276 |
+
|
| 277 |
+
INVALID_FREQ_ERR_MSG: Literal["Invalid frequency: {0}"]
|
| 278 |
+
|
| 279 |
+
def shift_months(
|
| 280 |
+
dtindex: npt.NDArray[np.int64], months: int, day_opt: str | None = ...
|
| 281 |
+
) -> npt.NDArray[np.int64]: ...
|
| 282 |
+
|
| 283 |
+
_offset_map: dict[str, BaseOffset]
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/parsing.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:498c6738dc6b495b7079db618dc1e9e157a1db18dc1b9fec7dc592d9ada68225
|
| 3 |
+
size 430312
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/parsing.pyi
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import datetime
|
| 2 |
+
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
from pandas._typing import npt
|
| 6 |
+
|
| 7 |
+
class DateParseError(ValueError): ...
|
| 8 |
+
|
| 9 |
+
def py_parse_datetime_string(
|
| 10 |
+
date_string: str,
|
| 11 |
+
dayfirst: bool = ...,
|
| 12 |
+
yearfirst: bool = ...,
|
| 13 |
+
) -> datetime: ...
|
| 14 |
+
def parse_datetime_string_with_reso(
|
| 15 |
+
date_string: str,
|
| 16 |
+
freq: str | None = ...,
|
| 17 |
+
dayfirst: bool | None = ...,
|
| 18 |
+
yearfirst: bool | None = ...,
|
| 19 |
+
) -> tuple[datetime, str]: ...
|
| 20 |
+
def _does_string_look_like_datetime(py_string: str) -> bool: ...
|
| 21 |
+
def quarter_to_myear(year: int, quarter: int, freq: str) -> tuple[int, int]: ...
|
| 22 |
+
def try_parse_dates(
|
| 23 |
+
values: npt.NDArray[np.object_], # object[:]
|
| 24 |
+
parser,
|
| 25 |
+
) -> npt.NDArray[np.object_]: ...
|
| 26 |
+
def try_parse_year_month_day(
|
| 27 |
+
years: npt.NDArray[np.object_], # object[:]
|
| 28 |
+
months: npt.NDArray[np.object_], # object[:]
|
| 29 |
+
days: npt.NDArray[np.object_], # object[:]
|
| 30 |
+
) -> npt.NDArray[np.object_]: ...
|
| 31 |
+
def guess_datetime_format(
|
| 32 |
+
dt_str,
|
| 33 |
+
dayfirst: bool | None = ...,
|
| 34 |
+
) -> str | None: ...
|
| 35 |
+
def concat_date_cols(
|
| 36 |
+
date_cols: tuple,
|
| 37 |
+
) -> npt.NDArray[np.object_]: ...
|
| 38 |
+
def get_rule_month(source: str) -> str: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/period.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c059e84830f996796366d13cc599bccf9c05a0213baf6b2c1f58beed83f35b4
|
| 3 |
+
size 477288
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/period.pyi
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import timedelta
|
| 2 |
+
from typing import Literal
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
|
| 6 |
+
from pandas._libs.tslibs.dtypes import PeriodDtypeBase
|
| 7 |
+
from pandas._libs.tslibs.nattype import NaTType
|
| 8 |
+
from pandas._libs.tslibs.offsets import BaseOffset
|
| 9 |
+
from pandas._libs.tslibs.timestamps import Timestamp
|
| 10 |
+
from pandas._typing import (
|
| 11 |
+
Frequency,
|
| 12 |
+
npt,
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
INVALID_FREQ_ERR_MSG: str
|
| 16 |
+
DIFFERENT_FREQ: str
|
| 17 |
+
|
| 18 |
+
class IncompatibleFrequency(ValueError): ...
|
| 19 |
+
|
| 20 |
+
def periodarr_to_dt64arr(
|
| 21 |
+
periodarr: npt.NDArray[np.int64], # const int64_t[:]
|
| 22 |
+
freq: int,
|
| 23 |
+
) -> npt.NDArray[np.int64]: ...
|
| 24 |
+
def period_asfreq_arr(
|
| 25 |
+
arr: npt.NDArray[np.int64],
|
| 26 |
+
freq1: int,
|
| 27 |
+
freq2: int,
|
| 28 |
+
end: bool,
|
| 29 |
+
) -> npt.NDArray[np.int64]: ...
|
| 30 |
+
def get_period_field_arr(
|
| 31 |
+
field: str,
|
| 32 |
+
arr: npt.NDArray[np.int64], # const int64_t[:]
|
| 33 |
+
freq: int,
|
| 34 |
+
) -> npt.NDArray[np.int64]: ...
|
| 35 |
+
def from_ordinals(
|
| 36 |
+
values: npt.NDArray[np.int64], # const int64_t[:]
|
| 37 |
+
freq: timedelta | BaseOffset | str,
|
| 38 |
+
) -> npt.NDArray[np.int64]: ...
|
| 39 |
+
def extract_ordinals(
|
| 40 |
+
values: npt.NDArray[np.object_],
|
| 41 |
+
freq: Frequency | int,
|
| 42 |
+
) -> npt.NDArray[np.int64]: ...
|
| 43 |
+
def extract_freq(
|
| 44 |
+
values: npt.NDArray[np.object_],
|
| 45 |
+
) -> BaseOffset: ...
|
| 46 |
+
def period_array_strftime(
|
| 47 |
+
values: npt.NDArray[np.int64],
|
| 48 |
+
dtype_code: int,
|
| 49 |
+
na_rep,
|
| 50 |
+
date_format: str | None,
|
| 51 |
+
) -> npt.NDArray[np.object_]: ...
|
| 52 |
+
|
| 53 |
+
# exposed for tests
|
| 54 |
+
def period_asfreq(ordinal: int, freq1: int, freq2: int, end: bool) -> int: ...
|
| 55 |
+
def period_ordinal(
|
| 56 |
+
y: int, m: int, d: int, h: int, min: int, s: int, us: int, ps: int, freq: int
|
| 57 |
+
) -> int: ...
|
| 58 |
+
def freq_to_dtype_code(freq: BaseOffset) -> int: ...
|
| 59 |
+
def validate_end_alias(how: str) -> Literal["E", "S"]: ...
|
| 60 |
+
|
| 61 |
+
class PeriodMixin:
|
| 62 |
+
@property
|
| 63 |
+
def end_time(self) -> Timestamp: ...
|
| 64 |
+
@property
|
| 65 |
+
def start_time(self) -> Timestamp: ...
|
| 66 |
+
def _require_matching_freq(self, other, base: bool = ...) -> None: ...
|
| 67 |
+
|
| 68 |
+
class Period(PeriodMixin):
|
| 69 |
+
ordinal: int # int64_t
|
| 70 |
+
freq: BaseOffset
|
| 71 |
+
_dtype: PeriodDtypeBase
|
| 72 |
+
|
| 73 |
+
# error: "__new__" must return a class instance (got "Union[Period, NaTType]")
|
| 74 |
+
def __new__( # type: ignore[misc]
|
| 75 |
+
cls,
|
| 76 |
+
value=...,
|
| 77 |
+
freq: int | str | BaseOffset | None = ...,
|
| 78 |
+
ordinal: int | None = ...,
|
| 79 |
+
year: int | None = ...,
|
| 80 |
+
month: int | None = ...,
|
| 81 |
+
quarter: int | None = ...,
|
| 82 |
+
day: int | None = ...,
|
| 83 |
+
hour: int | None = ...,
|
| 84 |
+
minute: int | None = ...,
|
| 85 |
+
second: int | None = ...,
|
| 86 |
+
) -> Period | NaTType: ...
|
| 87 |
+
@classmethod
|
| 88 |
+
def _maybe_convert_freq(cls, freq) -> BaseOffset: ...
|
| 89 |
+
@classmethod
|
| 90 |
+
def _from_ordinal(cls, ordinal: int, freq) -> Period: ...
|
| 91 |
+
@classmethod
|
| 92 |
+
def now(cls, freq: BaseOffset = ...) -> Period: ...
|
| 93 |
+
def strftime(self, fmt: str) -> str: ...
|
| 94 |
+
def to_timestamp(
|
| 95 |
+
self,
|
| 96 |
+
freq: str | BaseOffset | None = ...,
|
| 97 |
+
how: str = ...,
|
| 98 |
+
) -> Timestamp: ...
|
| 99 |
+
def asfreq(self, freq: str | BaseOffset, how: str = ...) -> Period: ...
|
| 100 |
+
@property
|
| 101 |
+
def freqstr(self) -> str: ...
|
| 102 |
+
@property
|
| 103 |
+
def is_leap_year(self) -> bool: ...
|
| 104 |
+
@property
|
| 105 |
+
def daysinmonth(self) -> int: ...
|
| 106 |
+
@property
|
| 107 |
+
def days_in_month(self) -> int: ...
|
| 108 |
+
@property
|
| 109 |
+
def qyear(self) -> int: ...
|
| 110 |
+
@property
|
| 111 |
+
def quarter(self) -> int: ...
|
| 112 |
+
@property
|
| 113 |
+
def day_of_year(self) -> int: ...
|
| 114 |
+
@property
|
| 115 |
+
def weekday(self) -> int: ...
|
| 116 |
+
@property
|
| 117 |
+
def day_of_week(self) -> int: ...
|
| 118 |
+
@property
|
| 119 |
+
def week(self) -> int: ...
|
| 120 |
+
@property
|
| 121 |
+
def weekofyear(self) -> int: ...
|
| 122 |
+
@property
|
| 123 |
+
def second(self) -> int: ...
|
| 124 |
+
@property
|
| 125 |
+
def minute(self) -> int: ...
|
| 126 |
+
@property
|
| 127 |
+
def hour(self) -> int: ...
|
| 128 |
+
@property
|
| 129 |
+
def day(self) -> int: ...
|
| 130 |
+
@property
|
| 131 |
+
def month(self) -> int: ...
|
| 132 |
+
@property
|
| 133 |
+
def year(self) -> int: ...
|
| 134 |
+
def __sub__(self, other) -> Period | BaseOffset: ...
|
| 135 |
+
def __add__(self, other) -> Period: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/strptime.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7254a18a267322ee35da02aa45cc107381197faf29368e4581d4f608f897903f
|
| 3 |
+
size 328232
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/strptime.pyi
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
from pandas._typing import npt
|
| 4 |
+
|
| 5 |
+
def array_strptime(
|
| 6 |
+
values: npt.NDArray[np.object_],
|
| 7 |
+
fmt: str | None,
|
| 8 |
+
exact: bool = ...,
|
| 9 |
+
errors: str = ...,
|
| 10 |
+
utc: bool = ...,
|
| 11 |
+
) -> tuple[np.ndarray, np.ndarray]: ...
|
| 12 |
+
|
| 13 |
+
# first ndarray is M8[ns], second is object ndarray of tzinfo | None
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timedeltas.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07d90cf788ff845c86e244ac4f6ed44fe1d3a3086faf3955baa7c3f2ef27e49b
|
| 3 |
+
size 567400
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timedeltas.pyi
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import timedelta
|
| 2 |
+
from typing import (
|
| 3 |
+
ClassVar,
|
| 4 |
+
Literal,
|
| 5 |
+
TypeAlias,
|
| 6 |
+
TypeVar,
|
| 7 |
+
overload,
|
| 8 |
+
)
|
| 9 |
+
|
| 10 |
+
import numpy as np
|
| 11 |
+
|
| 12 |
+
from pandas._libs.tslibs import (
|
| 13 |
+
NaTType,
|
| 14 |
+
Tick,
|
| 15 |
+
)
|
| 16 |
+
from pandas._typing import (
|
| 17 |
+
Self,
|
| 18 |
+
npt,
|
| 19 |
+
)
|
| 20 |
+
|
| 21 |
+
# This should be kept consistent with the keys in the dict timedelta_abbrevs
|
| 22 |
+
# in pandas/_libs/tslibs/timedeltas.pyx
|
| 23 |
+
UnitChoices: TypeAlias = Literal[
|
| 24 |
+
"Y",
|
| 25 |
+
"y",
|
| 26 |
+
"M",
|
| 27 |
+
"W",
|
| 28 |
+
"w",
|
| 29 |
+
"D",
|
| 30 |
+
"d",
|
| 31 |
+
"days",
|
| 32 |
+
"day",
|
| 33 |
+
"hours",
|
| 34 |
+
"hour",
|
| 35 |
+
"hr",
|
| 36 |
+
"h",
|
| 37 |
+
"m",
|
| 38 |
+
"minute",
|
| 39 |
+
"min",
|
| 40 |
+
"minutes",
|
| 41 |
+
"T",
|
| 42 |
+
"t",
|
| 43 |
+
"s",
|
| 44 |
+
"seconds",
|
| 45 |
+
"sec",
|
| 46 |
+
"second",
|
| 47 |
+
"ms",
|
| 48 |
+
"milliseconds",
|
| 49 |
+
"millisecond",
|
| 50 |
+
"milli",
|
| 51 |
+
"millis",
|
| 52 |
+
"L",
|
| 53 |
+
"l",
|
| 54 |
+
"us",
|
| 55 |
+
"microseconds",
|
| 56 |
+
"microsecond",
|
| 57 |
+
"µs",
|
| 58 |
+
"micro",
|
| 59 |
+
"micros",
|
| 60 |
+
"u",
|
| 61 |
+
"ns",
|
| 62 |
+
"nanoseconds",
|
| 63 |
+
"nano",
|
| 64 |
+
"nanos",
|
| 65 |
+
"nanosecond",
|
| 66 |
+
"n",
|
| 67 |
+
]
|
| 68 |
+
_S = TypeVar("_S", bound=timedelta)
|
| 69 |
+
|
| 70 |
+
def ints_to_pytimedelta(
|
| 71 |
+
arr: npt.NDArray[np.timedelta64],
|
| 72 |
+
box: bool = ...,
|
| 73 |
+
) -> npt.NDArray[np.object_]: ...
|
| 74 |
+
def array_to_timedelta64(
|
| 75 |
+
values: npt.NDArray[np.object_],
|
| 76 |
+
unit: str | None = ...,
|
| 77 |
+
errors: str = ...,
|
| 78 |
+
) -> np.ndarray: ... # np.ndarray[m8ns]
|
| 79 |
+
def parse_timedelta_unit(unit: str | None) -> UnitChoices: ...
|
| 80 |
+
def delta_to_nanoseconds(
|
| 81 |
+
delta: np.timedelta64 | timedelta | Tick,
|
| 82 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 83 |
+
round_ok: bool = ...,
|
| 84 |
+
) -> int: ...
|
| 85 |
+
def floordiv_object_array(
|
| 86 |
+
left: np.ndarray, right: npt.NDArray[np.object_]
|
| 87 |
+
) -> np.ndarray: ...
|
| 88 |
+
def truediv_object_array(
|
| 89 |
+
left: np.ndarray, right: npt.NDArray[np.object_]
|
| 90 |
+
) -> np.ndarray: ...
|
| 91 |
+
|
| 92 |
+
class Timedelta(timedelta):
|
| 93 |
+
_creso: int
|
| 94 |
+
min: ClassVar[Timedelta]
|
| 95 |
+
max: ClassVar[Timedelta]
|
| 96 |
+
resolution: ClassVar[Timedelta]
|
| 97 |
+
value: int # np.int64
|
| 98 |
+
_value: int # np.int64
|
| 99 |
+
# error: "__new__" must return a class instance (got "Union[Timestamp, NaTType]")
|
| 100 |
+
def __new__( # type: ignore[misc]
|
| 101 |
+
cls: type[_S],
|
| 102 |
+
value=...,
|
| 103 |
+
unit: str | None = ...,
|
| 104 |
+
**kwargs: float | np.integer | np.floating,
|
| 105 |
+
) -> _S | NaTType: ...
|
| 106 |
+
@classmethod
|
| 107 |
+
def _from_value_and_reso(cls, value: np.int64, reso: int) -> Timedelta: ...
|
| 108 |
+
@property
|
| 109 |
+
def days(self) -> int: ...
|
| 110 |
+
@property
|
| 111 |
+
def seconds(self) -> int: ...
|
| 112 |
+
@property
|
| 113 |
+
def microseconds(self) -> int: ...
|
| 114 |
+
def total_seconds(self) -> float: ...
|
| 115 |
+
def to_pytimedelta(self) -> timedelta: ...
|
| 116 |
+
def to_timedelta64(self) -> np.timedelta64: ...
|
| 117 |
+
@property
|
| 118 |
+
def asm8(self) -> np.timedelta64: ...
|
| 119 |
+
# TODO: round/floor/ceil could return NaT?
|
| 120 |
+
def round(self, freq: str) -> Self: ...
|
| 121 |
+
def floor(self, freq: str) -> Self: ...
|
| 122 |
+
def ceil(self, freq: str) -> Self: ...
|
| 123 |
+
@property
|
| 124 |
+
def resolution_string(self) -> str: ...
|
| 125 |
+
def __add__(self, other: timedelta) -> Timedelta: ...
|
| 126 |
+
def __radd__(self, other: timedelta) -> Timedelta: ...
|
| 127 |
+
def __sub__(self, other: timedelta) -> Timedelta: ...
|
| 128 |
+
def __rsub__(self, other: timedelta) -> Timedelta: ...
|
| 129 |
+
def __neg__(self) -> Timedelta: ...
|
| 130 |
+
def __pos__(self) -> Timedelta: ...
|
| 131 |
+
def __abs__(self) -> Timedelta: ...
|
| 132 |
+
def __mul__(self, other: float) -> Timedelta: ...
|
| 133 |
+
def __rmul__(self, other: float) -> Timedelta: ...
|
| 134 |
+
# error: Signature of "__floordiv__" incompatible with supertype "timedelta"
|
| 135 |
+
@overload # type: ignore[override]
|
| 136 |
+
def __floordiv__(self, other: timedelta) -> int: ...
|
| 137 |
+
@overload
|
| 138 |
+
def __floordiv__(self, other: float) -> Timedelta: ...
|
| 139 |
+
@overload
|
| 140 |
+
def __floordiv__(
|
| 141 |
+
self, other: npt.NDArray[np.timedelta64]
|
| 142 |
+
) -> npt.NDArray[np.intp]: ...
|
| 143 |
+
@overload
|
| 144 |
+
def __floordiv__(
|
| 145 |
+
self, other: npt.NDArray[np.number]
|
| 146 |
+
) -> npt.NDArray[np.timedelta64] | Timedelta: ...
|
| 147 |
+
@overload
|
| 148 |
+
def __rfloordiv__(self, other: timedelta | str) -> int: ...
|
| 149 |
+
@overload
|
| 150 |
+
def __rfloordiv__(self, other: None | NaTType) -> NaTType: ...
|
| 151 |
+
@overload
|
| 152 |
+
def __rfloordiv__(self, other: np.ndarray) -> npt.NDArray[np.timedelta64]: ...
|
| 153 |
+
@overload
|
| 154 |
+
def __truediv__(self, other: timedelta) -> float: ...
|
| 155 |
+
@overload
|
| 156 |
+
def __truediv__(self, other: float) -> Timedelta: ...
|
| 157 |
+
def __mod__(self, other: timedelta) -> Timedelta: ...
|
| 158 |
+
def __divmod__(self, other: timedelta) -> tuple[int, Timedelta]: ...
|
| 159 |
+
def __le__(self, other: timedelta) -> bool: ...
|
| 160 |
+
def __lt__(self, other: timedelta) -> bool: ...
|
| 161 |
+
def __ge__(self, other: timedelta) -> bool: ...
|
| 162 |
+
def __gt__(self, other: timedelta) -> bool: ...
|
| 163 |
+
def __hash__(self) -> int: ...
|
| 164 |
+
def isoformat(self) -> str: ...
|
| 165 |
+
def to_numpy(self) -> np.timedelta64: ...
|
| 166 |
+
def view(self, dtype: npt.DTypeLike = ...) -> object: ...
|
| 167 |
+
@property
|
| 168 |
+
def unit(self) -> str: ...
|
| 169 |
+
def as_unit(self, unit: str, round_ok: bool = ...) -> Timedelta: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timestamps.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9808a6fa5cca455e5dd484fbf5719bdba66bfd63c48c1bebe3a0ac2d3c9e917
|
| 3 |
+
size 616808
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timestamps.pyi
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import (
|
| 2 |
+
date as _date,
|
| 3 |
+
datetime,
|
| 4 |
+
time as _time,
|
| 5 |
+
timedelta,
|
| 6 |
+
tzinfo as _tzinfo,
|
| 7 |
+
)
|
| 8 |
+
from time import struct_time
|
| 9 |
+
from typing import (
|
| 10 |
+
ClassVar,
|
| 11 |
+
TypeVar,
|
| 12 |
+
overload,
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
import numpy as np
|
| 16 |
+
|
| 17 |
+
from pandas._libs.tslibs import (
|
| 18 |
+
BaseOffset,
|
| 19 |
+
NaTType,
|
| 20 |
+
Period,
|
| 21 |
+
Tick,
|
| 22 |
+
Timedelta,
|
| 23 |
+
)
|
| 24 |
+
from pandas._typing import (
|
| 25 |
+
Self,
|
| 26 |
+
TimestampNonexistent,
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
_DatetimeT = TypeVar("_DatetimeT", bound=datetime)
|
| 30 |
+
|
| 31 |
+
def integer_op_not_supported(obj: object) -> TypeError: ...
|
| 32 |
+
|
| 33 |
+
class Timestamp(datetime):
|
| 34 |
+
_creso: int
|
| 35 |
+
min: ClassVar[Timestamp]
|
| 36 |
+
max: ClassVar[Timestamp]
|
| 37 |
+
|
| 38 |
+
resolution: ClassVar[Timedelta]
|
| 39 |
+
_value: int # np.int64
|
| 40 |
+
# error: "__new__" must return a class instance (got "Union[Timestamp, NaTType]")
|
| 41 |
+
def __new__( # type: ignore[misc]
|
| 42 |
+
cls: type[_DatetimeT],
|
| 43 |
+
ts_input: np.integer | float | str | _date | datetime | np.datetime64 = ...,
|
| 44 |
+
year: int | None = ...,
|
| 45 |
+
month: int | None = ...,
|
| 46 |
+
day: int | None = ...,
|
| 47 |
+
hour: int | None = ...,
|
| 48 |
+
minute: int | None = ...,
|
| 49 |
+
second: int | None = ...,
|
| 50 |
+
microsecond: int | None = ...,
|
| 51 |
+
tzinfo: _tzinfo | None = ...,
|
| 52 |
+
*,
|
| 53 |
+
nanosecond: int | None = ...,
|
| 54 |
+
tz: str | _tzinfo | None | int = ...,
|
| 55 |
+
unit: str | int | None = ...,
|
| 56 |
+
fold: int | None = ...,
|
| 57 |
+
) -> _DatetimeT | NaTType: ...
|
| 58 |
+
@classmethod
|
| 59 |
+
def _from_value_and_reso(
|
| 60 |
+
cls, value: int, reso: int, tz: _tzinfo | None
|
| 61 |
+
) -> Timestamp: ...
|
| 62 |
+
@property
|
| 63 |
+
def value(self) -> int: ... # np.int64
|
| 64 |
+
@property
|
| 65 |
+
def year(self) -> int: ...
|
| 66 |
+
@property
|
| 67 |
+
def month(self) -> int: ...
|
| 68 |
+
@property
|
| 69 |
+
def day(self) -> int: ...
|
| 70 |
+
@property
|
| 71 |
+
def hour(self) -> int: ...
|
| 72 |
+
@property
|
| 73 |
+
def minute(self) -> int: ...
|
| 74 |
+
@property
|
| 75 |
+
def second(self) -> int: ...
|
| 76 |
+
@property
|
| 77 |
+
def microsecond(self) -> int: ...
|
| 78 |
+
@property
|
| 79 |
+
def nanosecond(self) -> int: ...
|
| 80 |
+
@property
|
| 81 |
+
def tzinfo(self) -> _tzinfo | None: ...
|
| 82 |
+
@property
|
| 83 |
+
def tz(self) -> _tzinfo | None: ...
|
| 84 |
+
@property
|
| 85 |
+
def fold(self) -> int: ...
|
| 86 |
+
@classmethod
|
| 87 |
+
def fromtimestamp(cls, ts: float, tz: _tzinfo | None = ...) -> Self: ...
|
| 88 |
+
@classmethod
|
| 89 |
+
def utcfromtimestamp(cls, ts: float) -> Self: ...
|
| 90 |
+
@classmethod
|
| 91 |
+
def today(cls, tz: _tzinfo | str | None = ...) -> Self: ...
|
| 92 |
+
@classmethod
|
| 93 |
+
def fromordinal(
|
| 94 |
+
cls,
|
| 95 |
+
ordinal: int,
|
| 96 |
+
tz: _tzinfo | str | None = ...,
|
| 97 |
+
) -> Self: ...
|
| 98 |
+
@classmethod
|
| 99 |
+
def now(cls, tz: _tzinfo | str | None = ...) -> Self: ...
|
| 100 |
+
@classmethod
|
| 101 |
+
def utcnow(cls) -> Self: ...
|
| 102 |
+
# error: Signature of "combine" incompatible with supertype "datetime"
|
| 103 |
+
@classmethod
|
| 104 |
+
def combine( # type: ignore[override]
|
| 105 |
+
cls, date: _date, time: _time
|
| 106 |
+
) -> datetime: ...
|
| 107 |
+
@classmethod
|
| 108 |
+
def fromisoformat(cls, date_string: str) -> Self: ...
|
| 109 |
+
def strftime(self, format: str) -> str: ...
|
| 110 |
+
def __format__(self, fmt: str) -> str: ...
|
| 111 |
+
def toordinal(self) -> int: ...
|
| 112 |
+
def timetuple(self) -> struct_time: ...
|
| 113 |
+
def timestamp(self) -> float: ...
|
| 114 |
+
def utctimetuple(self) -> struct_time: ...
|
| 115 |
+
def date(self) -> _date: ...
|
| 116 |
+
def time(self) -> _time: ...
|
| 117 |
+
def timetz(self) -> _time: ...
|
| 118 |
+
# LSP violation: nanosecond is not present in datetime.datetime.replace
|
| 119 |
+
# and has positional args following it
|
| 120 |
+
def replace( # type: ignore[override]
|
| 121 |
+
self,
|
| 122 |
+
year: int | None = ...,
|
| 123 |
+
month: int | None = ...,
|
| 124 |
+
day: int | None = ...,
|
| 125 |
+
hour: int | None = ...,
|
| 126 |
+
minute: int | None = ...,
|
| 127 |
+
second: int | None = ...,
|
| 128 |
+
microsecond: int | None = ...,
|
| 129 |
+
nanosecond: int | None = ...,
|
| 130 |
+
tzinfo: _tzinfo | type[object] | None = ...,
|
| 131 |
+
fold: int | None = ...,
|
| 132 |
+
) -> Self: ...
|
| 133 |
+
# LSP violation: datetime.datetime.astimezone has a default value for tz
|
| 134 |
+
def astimezone(self, tz: _tzinfo | None) -> Self: ... # type: ignore[override]
|
| 135 |
+
def ctime(self) -> str: ...
|
| 136 |
+
def isoformat(self, sep: str = ..., timespec: str = ...) -> str: ...
|
| 137 |
+
@classmethod
|
| 138 |
+
def strptime(
|
| 139 |
+
# Note: strptime is actually disabled and raises NotImplementedError
|
| 140 |
+
cls,
|
| 141 |
+
date_string: str,
|
| 142 |
+
format: str,
|
| 143 |
+
) -> Self: ...
|
| 144 |
+
def utcoffset(self) -> timedelta | None: ...
|
| 145 |
+
def tzname(self) -> str | None: ...
|
| 146 |
+
def dst(self) -> timedelta | None: ...
|
| 147 |
+
def __le__(self, other: datetime) -> bool: ... # type: ignore[override]
|
| 148 |
+
def __lt__(self, other: datetime) -> bool: ... # type: ignore[override]
|
| 149 |
+
def __ge__(self, other: datetime) -> bool: ... # type: ignore[override]
|
| 150 |
+
def __gt__(self, other: datetime) -> bool: ... # type: ignore[override]
|
| 151 |
+
# error: Signature of "__add__" incompatible with supertype "date"/"datetime"
|
| 152 |
+
@overload # type: ignore[override]
|
| 153 |
+
def __add__(self, other: np.ndarray) -> np.ndarray: ...
|
| 154 |
+
@overload
|
| 155 |
+
def __add__(self, other: timedelta | np.timedelta64 | Tick) -> Self: ...
|
| 156 |
+
def __radd__(self, other: timedelta) -> Self: ...
|
| 157 |
+
@overload # type: ignore[override]
|
| 158 |
+
def __sub__(self, other: datetime) -> Timedelta: ...
|
| 159 |
+
@overload
|
| 160 |
+
def __sub__(self, other: timedelta | np.timedelta64 | Tick) -> Self: ...
|
| 161 |
+
def __hash__(self) -> int: ...
|
| 162 |
+
def weekday(self) -> int: ...
|
| 163 |
+
def isoweekday(self) -> int: ...
|
| 164 |
+
# Return type "Tuple[int, int, int]" of "isocalendar" incompatible with return
|
| 165 |
+
# type "_IsoCalendarDate" in supertype "date"
|
| 166 |
+
def isocalendar(self) -> tuple[int, int, int]: ... # type: ignore[override]
|
| 167 |
+
@property
|
| 168 |
+
def is_leap_year(self) -> bool: ...
|
| 169 |
+
@property
|
| 170 |
+
def is_month_start(self) -> bool: ...
|
| 171 |
+
@property
|
| 172 |
+
def is_quarter_start(self) -> bool: ...
|
| 173 |
+
@property
|
| 174 |
+
def is_year_start(self) -> bool: ...
|
| 175 |
+
@property
|
| 176 |
+
def is_month_end(self) -> bool: ...
|
| 177 |
+
@property
|
| 178 |
+
def is_quarter_end(self) -> bool: ...
|
| 179 |
+
@property
|
| 180 |
+
def is_year_end(self) -> bool: ...
|
| 181 |
+
def to_pydatetime(self, warn: bool = ...) -> datetime: ...
|
| 182 |
+
def to_datetime64(self) -> np.datetime64: ...
|
| 183 |
+
def to_period(self, freq: BaseOffset | str = ...) -> Period: ...
|
| 184 |
+
def to_julian_date(self) -> np.float64: ...
|
| 185 |
+
@property
|
| 186 |
+
def asm8(self) -> np.datetime64: ...
|
| 187 |
+
def tz_convert(self, tz: _tzinfo | str | None) -> Self: ...
|
| 188 |
+
# TODO: could return NaT?
|
| 189 |
+
def tz_localize(
|
| 190 |
+
self,
|
| 191 |
+
tz: _tzinfo | str | None,
|
| 192 |
+
ambiguous: str = ...,
|
| 193 |
+
nonexistent: TimestampNonexistent = ...,
|
| 194 |
+
) -> Self: ...
|
| 195 |
+
def normalize(self) -> Self: ...
|
| 196 |
+
# TODO: round/floor/ceil could return NaT?
|
| 197 |
+
def round(
|
| 198 |
+
self,
|
| 199 |
+
freq: str,
|
| 200 |
+
ambiguous: bool | str = ...,
|
| 201 |
+
nonexistent: TimestampNonexistent = ...,
|
| 202 |
+
) -> Self: ...
|
| 203 |
+
def floor(
|
| 204 |
+
self,
|
| 205 |
+
freq: str,
|
| 206 |
+
ambiguous: bool | str = ...,
|
| 207 |
+
nonexistent: TimestampNonexistent = ...,
|
| 208 |
+
) -> Self: ...
|
| 209 |
+
def ceil(
|
| 210 |
+
self,
|
| 211 |
+
freq: str,
|
| 212 |
+
ambiguous: bool | str = ...,
|
| 213 |
+
nonexistent: TimestampNonexistent = ...,
|
| 214 |
+
) -> Self: ...
|
| 215 |
+
def day_name(self, locale: str | None = ...) -> str: ...
|
| 216 |
+
def month_name(self, locale: str | None = ...) -> str: ...
|
| 217 |
+
@property
|
| 218 |
+
def day_of_week(self) -> int: ...
|
| 219 |
+
@property
|
| 220 |
+
def dayofweek(self) -> int: ...
|
| 221 |
+
@property
|
| 222 |
+
def day_of_year(self) -> int: ...
|
| 223 |
+
@property
|
| 224 |
+
def dayofyear(self) -> int: ...
|
| 225 |
+
@property
|
| 226 |
+
def quarter(self) -> int: ...
|
| 227 |
+
@property
|
| 228 |
+
def week(self) -> int: ...
|
| 229 |
+
def to_numpy(
|
| 230 |
+
self, dtype: np.dtype | None = ..., copy: bool = ...
|
| 231 |
+
) -> np.datetime64: ...
|
| 232 |
+
@property
|
| 233 |
+
def _date_repr(self) -> str: ...
|
| 234 |
+
@property
|
| 235 |
+
def days_in_month(self) -> int: ...
|
| 236 |
+
@property
|
| 237 |
+
def daysinmonth(self) -> int: ...
|
| 238 |
+
@property
|
| 239 |
+
def unit(self) -> str: ...
|
| 240 |
+
def as_unit(self, unit: str, round_ok: bool = ...) -> Timestamp: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timezones.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4134e0aef5514df7d53d172433903fb1545300dced29e552b6f2880a56006c9c
|
| 3 |
+
size 254344
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/timezones.pyi
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import (
|
| 2 |
+
datetime,
|
| 3 |
+
tzinfo,
|
| 4 |
+
)
|
| 5 |
+
from typing import Callable
|
| 6 |
+
|
| 7 |
+
import numpy as np
|
| 8 |
+
|
| 9 |
+
# imported from dateutil.tz
|
| 10 |
+
dateutil_gettz: Callable[[str], tzinfo]
|
| 11 |
+
|
| 12 |
+
def tz_standardize(tz: tzinfo) -> tzinfo: ...
|
| 13 |
+
def tz_compare(start: tzinfo | None, end: tzinfo | None) -> bool: ...
|
| 14 |
+
def infer_tzinfo(
|
| 15 |
+
start: datetime | None,
|
| 16 |
+
end: datetime | None,
|
| 17 |
+
) -> tzinfo | None: ...
|
| 18 |
+
def maybe_get_tz(tz: str | int | np.int64 | tzinfo | None) -> tzinfo | None: ...
|
| 19 |
+
def get_timezone(tz: tzinfo) -> tzinfo | str: ...
|
| 20 |
+
def is_utc(tz: tzinfo | None) -> bool: ...
|
| 21 |
+
def is_fixed_offset(tz: tzinfo) -> bool: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/tzconversion.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2925ca9aa818f0af687cd147ef955f8ef282b711e5a672bb2db1356b2faeaa3
|
| 3 |
+
size 303688
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/tzconversion.pyi
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from datetime import (
|
| 2 |
+
timedelta,
|
| 3 |
+
tzinfo,
|
| 4 |
+
)
|
| 5 |
+
from typing import Iterable
|
| 6 |
+
|
| 7 |
+
import numpy as np
|
| 8 |
+
|
| 9 |
+
from pandas._typing import npt
|
| 10 |
+
|
| 11 |
+
# tz_convert_from_utc_single exposed for testing
|
| 12 |
+
def tz_convert_from_utc_single(
|
| 13 |
+
val: np.int64, tz: tzinfo, creso: int = ...
|
| 14 |
+
) -> np.int64: ...
|
| 15 |
+
def tz_localize_to_utc(
|
| 16 |
+
vals: npt.NDArray[np.int64],
|
| 17 |
+
tz: tzinfo | None,
|
| 18 |
+
ambiguous: str | bool | Iterable[bool] | None = ...,
|
| 19 |
+
nonexistent: str | timedelta | np.timedelta64 | None = ...,
|
| 20 |
+
creso: int = ..., # NPY_DATETIMEUNIT
|
| 21 |
+
) -> npt.NDArray[np.int64]: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/vectorized.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fba2a7f9fe0284dfa039a03cb89d11b90d370ccd1117509708f3554da7180d1
|
| 3 |
+
size 210760
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/vectorized.pyi
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
For cython types that cannot be represented precisely, closest-available
|
| 3 |
+
python equivalents are used, and the precise types kept as adjacent comments.
|
| 4 |
+
"""
|
| 5 |
+
from datetime import tzinfo
|
| 6 |
+
|
| 7 |
+
import numpy as np
|
| 8 |
+
|
| 9 |
+
from pandas._libs.tslibs.dtypes import Resolution
|
| 10 |
+
from pandas._typing import npt
|
| 11 |
+
|
| 12 |
+
def dt64arr_to_periodarr(
|
| 13 |
+
stamps: npt.NDArray[np.int64],
|
| 14 |
+
freq: int,
|
| 15 |
+
tz: tzinfo | None,
|
| 16 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 17 |
+
) -> npt.NDArray[np.int64]: ...
|
| 18 |
+
def is_date_array_normalized(
|
| 19 |
+
stamps: npt.NDArray[np.int64],
|
| 20 |
+
tz: tzinfo | None,
|
| 21 |
+
reso: int, # NPY_DATETIMEUNIT
|
| 22 |
+
) -> bool: ...
|
| 23 |
+
def normalize_i8_timestamps(
|
| 24 |
+
stamps: npt.NDArray[np.int64],
|
| 25 |
+
tz: tzinfo | None,
|
| 26 |
+
reso: int, # NPY_DATETIMEUNIT
|
| 27 |
+
) -> npt.NDArray[np.int64]: ...
|
| 28 |
+
def get_resolution(
|
| 29 |
+
stamps: npt.NDArray[np.int64],
|
| 30 |
+
tz: tzinfo | None = ...,
|
| 31 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 32 |
+
) -> Resolution: ...
|
| 33 |
+
def ints_to_pydatetime(
|
| 34 |
+
arr: npt.NDArray[np.int64],
|
| 35 |
+
tz: tzinfo | None = ...,
|
| 36 |
+
box: str = ...,
|
| 37 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 38 |
+
) -> npt.NDArray[np.object_]: ...
|
| 39 |
+
def tz_convert_from_utc(
|
| 40 |
+
stamps: npt.NDArray[np.int64],
|
| 41 |
+
tz: tzinfo | None,
|
| 42 |
+
reso: int = ..., # NPY_DATETIMEUNIT
|
| 43 |
+
) -> npt.NDArray[np.int64]: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/__init__.py
ADDED
|
File without changes
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (198 Bytes). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/aggregations.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8b5c6a855b3afa999296bb417bad49db0d0745995b626a3eba019a3bb19e23f
|
| 3 |
+
size 378744
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/aggregations.pyi
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import (
|
| 2 |
+
Any,
|
| 3 |
+
Callable,
|
| 4 |
+
Literal,
|
| 5 |
+
)
|
| 6 |
+
|
| 7 |
+
import numpy as np
|
| 8 |
+
|
| 9 |
+
from pandas._typing import (
|
| 10 |
+
WindowingRankType,
|
| 11 |
+
npt,
|
| 12 |
+
)
|
| 13 |
+
|
| 14 |
+
def roll_sum(
|
| 15 |
+
values: np.ndarray, # const float64_t[:]
|
| 16 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 17 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 18 |
+
minp: int, # int64_t
|
| 19 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 20 |
+
def roll_mean(
|
| 21 |
+
values: np.ndarray, # const float64_t[:]
|
| 22 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 23 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 24 |
+
minp: int, # int64_t
|
| 25 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 26 |
+
def roll_var(
|
| 27 |
+
values: np.ndarray, # const float64_t[:]
|
| 28 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 29 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 30 |
+
minp: int, # int64_t
|
| 31 |
+
ddof: int = ...,
|
| 32 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 33 |
+
def roll_skew(
|
| 34 |
+
values: np.ndarray, # np.ndarray[np.float64]
|
| 35 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 36 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 37 |
+
minp: int, # int64_t
|
| 38 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 39 |
+
def roll_kurt(
|
| 40 |
+
values: np.ndarray, # np.ndarray[np.float64]
|
| 41 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 42 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 43 |
+
minp: int, # int64_t
|
| 44 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 45 |
+
def roll_median_c(
|
| 46 |
+
values: np.ndarray, # np.ndarray[np.float64]
|
| 47 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 48 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 49 |
+
minp: int, # int64_t
|
| 50 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 51 |
+
def roll_max(
|
| 52 |
+
values: np.ndarray, # np.ndarray[np.float64]
|
| 53 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 54 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 55 |
+
minp: int, # int64_t
|
| 56 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 57 |
+
def roll_min(
|
| 58 |
+
values: np.ndarray, # np.ndarray[np.float64]
|
| 59 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 60 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 61 |
+
minp: int, # int64_t
|
| 62 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 63 |
+
def roll_quantile(
|
| 64 |
+
values: np.ndarray, # const float64_t[:]
|
| 65 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 66 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 67 |
+
minp: int, # int64_t
|
| 68 |
+
quantile: float, # float64_t
|
| 69 |
+
interpolation: Literal["linear", "lower", "higher", "nearest", "midpoint"],
|
| 70 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 71 |
+
def roll_rank(
|
| 72 |
+
values: np.ndarray,
|
| 73 |
+
start: np.ndarray,
|
| 74 |
+
end: np.ndarray,
|
| 75 |
+
minp: int,
|
| 76 |
+
percentile: bool,
|
| 77 |
+
method: WindowingRankType,
|
| 78 |
+
ascending: bool,
|
| 79 |
+
) -> np.ndarray: ... # np.ndarray[float]
|
| 80 |
+
def roll_apply(
|
| 81 |
+
obj: object,
|
| 82 |
+
start: np.ndarray, # np.ndarray[np.int64]
|
| 83 |
+
end: np.ndarray, # np.ndarray[np.int64]
|
| 84 |
+
minp: int, # int64_t
|
| 85 |
+
function: Callable[..., Any],
|
| 86 |
+
raw: bool,
|
| 87 |
+
args: tuple[Any, ...],
|
| 88 |
+
kwargs: dict[str, Any],
|
| 89 |
+
) -> npt.NDArray[np.float64]: ...
|
| 90 |
+
def roll_weighted_sum(
|
| 91 |
+
values: np.ndarray, # const float64_t[:]
|
| 92 |
+
weights: np.ndarray, # const float64_t[:]
|
| 93 |
+
minp: int,
|
| 94 |
+
) -> np.ndarray: ... # np.ndarray[np.float64]
|
| 95 |
+
def roll_weighted_mean(
|
| 96 |
+
values: np.ndarray, # const float64_t[:]
|
| 97 |
+
weights: np.ndarray, # const float64_t[:]
|
| 98 |
+
minp: int,
|
| 99 |
+
) -> np.ndarray: ... # np.ndarray[np.float64]
|
| 100 |
+
def roll_weighted_var(
|
| 101 |
+
values: np.ndarray, # const float64_t[:]
|
| 102 |
+
weights: np.ndarray, # const float64_t[:]
|
| 103 |
+
minp: int, # int64_t
|
| 104 |
+
ddof: int, # unsigned int
|
| 105 |
+
) -> np.ndarray: ... # np.ndarray[np.float64]
|
| 106 |
+
def ewm(
|
| 107 |
+
vals: np.ndarray, # const float64_t[:]
|
| 108 |
+
start: np.ndarray, # const int64_t[:]
|
| 109 |
+
end: np.ndarray, # const int64_t[:]
|
| 110 |
+
minp: int,
|
| 111 |
+
com: float, # float64_t
|
| 112 |
+
adjust: bool,
|
| 113 |
+
ignore_na: bool,
|
| 114 |
+
deltas: np.ndarray, # const float64_t[:]
|
| 115 |
+
normalize: bool,
|
| 116 |
+
) -> np.ndarray: ... # np.ndarray[np.float64]
|
| 117 |
+
def ewmcov(
|
| 118 |
+
input_x: np.ndarray, # const float64_t[:]
|
| 119 |
+
start: np.ndarray, # const int64_t[:]
|
| 120 |
+
end: np.ndarray, # const int64_t[:]
|
| 121 |
+
minp: int,
|
| 122 |
+
input_y: np.ndarray, # const float64_t[:]
|
| 123 |
+
com: float, # float64_t
|
| 124 |
+
adjust: bool,
|
| 125 |
+
ignore_na: bool,
|
| 126 |
+
bias: bool,
|
| 127 |
+
) -> np.ndarray: ... # np.ndarray[np.float64]
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/indexers.cpython-312-x86_64-linux-gnu.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a04b2dc2acea1687532fdd2c556af1653a90f158c2462f02edeb1689b7d1f02
|
| 3 |
+
size 180104
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/_libs/window/indexers.pyi
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
from pandas._typing import npt
|
| 4 |
+
|
| 5 |
+
def calculate_variable_window_bounds(
|
| 6 |
+
num_values: int, # int64_t
|
| 7 |
+
window_size: int, # int64_t
|
| 8 |
+
min_periods,
|
| 9 |
+
center: bool,
|
| 10 |
+
closed: str | None,
|
| 11 |
+
index: np.ndarray, # const int64_t[:]
|
| 12 |
+
) -> tuple[npt.NDArray[np.int64], npt.NDArray[np.int64]]: ...
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/__init__.cpython-312.pyc
ADDED
|
Binary file (1.4 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_arrow_string_mixins.cpython-312.pyc
ADDED
|
Binary file (4.87 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_mixins.cpython-312.pyc
ADDED
|
Binary file (20 kB). View file
|
|
|
platform/dataops/dto/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_ranges.cpython-312.pyc
ADDED
|
Binary file (7.31 kB). View file
|
|
|