techprotrade commited on
Commit
20a2204
·
verified ·
1 Parent(s): 35224bb

Add loan-advisor-agent

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +32 -0
  2. loan-advisor-agent/.venv/Lib/site-packages/pandas/__init__.py +365 -0
  3. loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/__init__.cpython-312.pyc +0 -0
  4. loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/_typing.cpython-312.pyc +0 -0
  5. loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/_version_meson.cpython-312.pyc +0 -0
  6. loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/testing.cpython-312.pyc +0 -0
  7. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__init__.py +45 -0
  8. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc +0 -0
  9. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc +0 -0
  10. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc +0 -0
  11. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc +0 -0
  12. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc +0 -0
  13. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/config.py +954 -0
  14. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/dates.py +26 -0
  15. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/display.py +62 -0
  16. loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/localization.py +176 -0
  17. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/__init__.py +27 -0
  18. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc +0 -0
  19. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/_cyutility.cp312-win_amd64.lib +0 -0
  20. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/_cyutility.cp312-win_amd64.pyd +3 -0
  21. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/algos.cp312-win_amd64.lib +0 -0
  22. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/algos.cp312-win_amd64.pyd +3 -0
  23. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/algos.pyi +443 -0
  24. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/arrays.cp312-win_amd64.lib +0 -0
  25. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/arrays.cp312-win_amd64.pyd +0 -0
  26. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/arrays.pyi +40 -0
  27. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/byteswap.cp312-win_amd64.lib +0 -0
  28. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/byteswap.cp312-win_amd64.pyd +0 -0
  29. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/byteswap.pyi +5 -0
  30. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/groupby.cp312-win_amd64.lib +0 -0
  31. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/groupby.cp312-win_amd64.pyd +3 -0
  32. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/groupby.pyi +234 -0
  33. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashing.cp312-win_amd64.lib +0 -0
  34. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashing.cp312-win_amd64.pyd +0 -0
  35. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashing.pyi +9 -0
  36. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashtable.cp312-win_amd64.lib +0 -0
  37. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashtable.cp312-win_amd64.pyd +3 -0
  38. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashtable.pyi +274 -0
  39. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/index.cp312-win_amd64.lib +0 -0
  40. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/index.cp312-win_amd64.pyd +3 -0
  41. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/index.pyi +107 -0
  42. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/indexing.cp312-win_amd64.lib +0 -0
  43. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/indexing.cp312-win_amd64.pyd +0 -0
  44. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/indexing.pyi +17 -0
  45. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/internals.cp312-win_amd64.lib +0 -0
  46. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/internals.cp312-win_amd64.pyd +3 -0
  47. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/internals.pyi +98 -0
  48. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/interval.cp312-win_amd64.lib +0 -0
  49. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/interval.cp312-win_amd64.pyd +3 -0
  50. loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/interval.pyi +174 -0
.gitattributes CHANGED
@@ -463,3 +463,35 @@ loan-advisor-agent/.venv/Lib/site-packages/numpy/random/mtrand.cp312-win_amd64.p
463
  loan-advisor-agent/.venv/Lib/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
464
  loan-advisor-agent/.venv/Lib/site-packages/numpy.libs/libscipy_openblas64_-63c857e738469261263c764a36be9436.dll filter=lfs diff=lfs merge=lfs -text
465
  loan-advisor-agent/.venv/Lib/site-packages/numpy.libs/msvcp140-a4c2229bdc2a2a630acdc095b4d86008.dll filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
463
  loan-advisor-agent/.venv/Lib/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
464
  loan-advisor-agent/.venv/Lib/site-packages/numpy.libs/libscipy_openblas64_-63c857e738469261263c764a36be9436.dll filter=lfs diff=lfs merge=lfs -text
465
  loan-advisor-agent/.venv/Lib/site-packages/numpy.libs/msvcp140-a4c2229bdc2a2a630acdc095b4d86008.dll filter=lfs diff=lfs merge=lfs -text
466
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/_cyutility.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
467
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/algos.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
468
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/groupby.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
469
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashtable.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
470
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/index.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
471
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/internals.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
472
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/interval.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
473
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/join.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
474
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/lib.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
475
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/missing.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
476
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/parsers.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
477
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/reshape.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
478
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/sparse.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
479
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslib.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
480
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/conversion.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
481
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/dtypes.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
482
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/fields.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
483
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/nattype.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
484
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/offsets.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
485
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/parsing.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
486
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/period.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
487
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/strptime.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
488
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/timedeltas.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
489
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/timestamps.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
490
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/tslibs/tzconversion.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
491
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/window/aggregations.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
492
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/window/indexers.cp312-win_amd64.pyd filter=lfs diff=lfs merge=lfs -text
493
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/core/__pycache__/frame.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
494
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/core/__pycache__/generic.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
495
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/core/__pycache__/indexing.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
496
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/core/__pycache__/resample.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
497
+ loan-advisor-agent/.venv/Lib/site-packages/pandas/core/__pycache__/series.cpython-312.pyc filter=lfs diff=lfs merge=lfs -text
loan-advisor-agent/.venv/Lib/site-packages/pandas/__init__.py ADDED
@@ -0,0 +1,365 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+
3
+
4
+ # start delvewheel patch
5
+ def _delvewheel_patch_1_12_0():
6
+ import os
7
+ if os.path.isdir(libs_dir := os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, 'pandas.libs'))):
8
+ os.add_dll_directory(libs_dir)
9
+
10
+
11
+ _delvewheel_patch_1_12_0()
12
+ del _delvewheel_patch_1_12_0
13
+ # end delvewheel patch
14
+
15
+ __docformat__ = "restructuredtext"
16
+
17
+ # Let users know if they're missing any of our hard dependencies
18
+ # except tzdata (see https://github.com/pandas-dev/pandas/issues/63264)
19
+ _hard_dependencies = ("numpy", "dateutil")
20
+
21
+ for _dependency in _hard_dependencies:
22
+ try:
23
+ __import__(_dependency)
24
+ except ImportError as _e: # pragma: no cover
25
+ raise ImportError(
26
+ f"Unable to import required dependency {_dependency}. "
27
+ "Please see the traceback for details."
28
+ ) from _e
29
+
30
+ del _hard_dependencies, _dependency
31
+
32
+ try:
33
+ # numpy compat
34
+ from pandas.compat import (
35
+ is_numpy_dev as _is_numpy_dev, # pyright: ignore[reportUnusedImport] # noqa: F401
36
+ )
37
+ except ImportError as _err: # pragma: no cover
38
+ _module = _err.name
39
+ raise ImportError(
40
+ f"C extension: {_module} not built. If you want to import "
41
+ "pandas from the source directory, you may need to run "
42
+ "'python -m pip install -ve . --no-build-isolation -Ceditable-verbose=true' "
43
+ "to build the C extensions first."
44
+ ) from _err
45
+
46
+ from pandas._config import (
47
+ get_option,
48
+ set_option,
49
+ reset_option,
50
+ describe_option,
51
+ option_context,
52
+ options,
53
+ )
54
+
55
+ # let init-time option registration happen
56
+ import pandas.core.config_init # pyright: ignore[reportUnusedImport] # noqa: F401
57
+
58
+ from pandas.core.api import (
59
+ # dtype
60
+ ArrowDtype,
61
+ Int8Dtype,
62
+ Int16Dtype,
63
+ Int32Dtype,
64
+ Int64Dtype,
65
+ UInt8Dtype,
66
+ UInt16Dtype,
67
+ UInt32Dtype,
68
+ UInt64Dtype,
69
+ Float32Dtype,
70
+ Float64Dtype,
71
+ CategoricalDtype,
72
+ PeriodDtype,
73
+ IntervalDtype,
74
+ DatetimeTZDtype,
75
+ StringDtype,
76
+ BooleanDtype,
77
+ # missing
78
+ NA,
79
+ isna,
80
+ isnull,
81
+ notna,
82
+ notnull,
83
+ # indexes
84
+ Index,
85
+ CategoricalIndex,
86
+ RangeIndex,
87
+ MultiIndex,
88
+ IntervalIndex,
89
+ TimedeltaIndex,
90
+ DatetimeIndex,
91
+ PeriodIndex,
92
+ IndexSlice,
93
+ # tseries
94
+ NaT,
95
+ Period,
96
+ period_range,
97
+ Timedelta,
98
+ timedelta_range,
99
+ Timestamp,
100
+ date_range,
101
+ bdate_range,
102
+ Interval,
103
+ interval_range,
104
+ DateOffset,
105
+ # conversion
106
+ to_numeric,
107
+ to_datetime,
108
+ to_timedelta,
109
+ # misc
110
+ Flags,
111
+ Grouper,
112
+ factorize,
113
+ unique,
114
+ NamedAgg,
115
+ array,
116
+ Categorical,
117
+ set_eng_float_format,
118
+ Series,
119
+ DataFrame,
120
+ )
121
+ from pandas.core.col import col
122
+
123
+ from pandas.core.dtypes.dtypes import SparseDtype
124
+
125
+ from pandas.tseries.api import infer_freq
126
+ from pandas.tseries import offsets
127
+
128
+ from pandas.core.computation.api import eval
129
+
130
+ from pandas.core.reshape.api import (
131
+ concat,
132
+ lreshape,
133
+ melt,
134
+ wide_to_long,
135
+ merge,
136
+ merge_asof,
137
+ merge_ordered,
138
+ crosstab,
139
+ pivot,
140
+ pivot_table,
141
+ get_dummies,
142
+ from_dummies,
143
+ cut,
144
+ qcut,
145
+ )
146
+
147
+ from pandas import api, arrays, errors, io, plotting, tseries
148
+ from pandas import testing
149
+ from pandas.util._print_versions import show_versions
150
+
151
+ from pandas.io.api import (
152
+ # excel
153
+ ExcelFile,
154
+ ExcelWriter,
155
+ read_excel,
156
+ # parsers
157
+ read_csv,
158
+ read_fwf,
159
+ read_table,
160
+ # pickle
161
+ read_pickle,
162
+ to_pickle,
163
+ # pytables
164
+ HDFStore,
165
+ read_hdf,
166
+ # sql
167
+ read_sql,
168
+ read_sql_query,
169
+ read_sql_table,
170
+ # misc
171
+ read_clipboard,
172
+ read_parquet,
173
+ read_orc,
174
+ read_feather,
175
+ read_html,
176
+ read_xml,
177
+ read_json,
178
+ read_stata,
179
+ read_sas,
180
+ read_spss,
181
+ read_iceberg,
182
+ )
183
+
184
+ from pandas.io.json._normalize import json_normalize
185
+
186
+ from pandas.util._tester import test
187
+
188
+ # use the closest tagged version if possible
189
+ _built_with_meson = False
190
+ try:
191
+ from pandas._version_meson import ( # pyright: ignore [reportMissingImports]
192
+ __version__,
193
+ __git_version__,
194
+ )
195
+
196
+ _built_with_meson = True
197
+ except ImportError:
198
+ from pandas._version import get_versions
199
+
200
+ v = get_versions()
201
+ __version__ = v.get("closest-tag", v["version"])
202
+ __git_version__ = v.get("full-revisionid")
203
+ del get_versions, v
204
+
205
+
206
+ # module level doc-string
207
+ __doc__ = """
208
+ pandas - a powerful data analysis and manipulation library for Python
209
+ =====================================================================
210
+
211
+ **pandas** is a Python package providing fast, flexible, and expressive data
212
+ structures designed to make working with "relational" or "labeled" data both
213
+ easy and intuitive. It aims to be the fundamental high-level building block for
214
+ doing practical, **real world** data analysis in Python. Additionally, it has
215
+ the broader goal of becoming **the most powerful and flexible open source data
216
+ analysis / manipulation tool available in any language**. It is already well on
217
+ its way toward this goal.
218
+
219
+ Main Features
220
+ -------------
221
+ Here are just a few of the things that pandas does well:
222
+
223
+ - Easy handling of missing data in floating point as well as non-floating
224
+ point data.
225
+ - Size mutability: columns can be inserted and deleted from DataFrame and
226
+ higher dimensional objects
227
+ - Automatic and explicit data alignment: objects can be explicitly aligned
228
+ to a set of labels, or the user can simply ignore the labels and let
229
+ `Series`, `DataFrame`, etc. automatically align the data for you in
230
+ computations.
231
+ - Powerful, flexible group by functionality to perform split-apply-combine
232
+ operations on data sets, for both aggregating and transforming data.
233
+ - Make it easy to convert ragged, differently-indexed data in other Python
234
+ and NumPy data structures into DataFrame objects.
235
+ - Intelligent label-based slicing, fancy indexing, and subsetting of large
236
+ data sets.
237
+ - Intuitive merging and joining data sets.
238
+ - Flexible reshaping and pivoting of data sets.
239
+ - Hierarchical labeling of axes (possible to have multiple labels per tick).
240
+ - Robust IO tools for loading data from flat files (CSV and delimited),
241
+ Excel files, databases, and saving/loading data from the ultrafast HDF5
242
+ format.
243
+ - Time series-specific functionality: date range generation and frequency
244
+ conversion, moving window statistics, date shifting and lagging.
245
+ """
246
+
247
+ # Use __all__ to let type checkers know what is part of the public API.
248
+ # Pandas is not (yet) a py.typed library: the public API is determined
249
+ # based on the documentation.
250
+ __all__ = [
251
+ "NA",
252
+ "ArrowDtype",
253
+ "BooleanDtype",
254
+ "Categorical",
255
+ "CategoricalDtype",
256
+ "CategoricalIndex",
257
+ "DataFrame",
258
+ "DateOffset",
259
+ "DatetimeIndex",
260
+ "DatetimeTZDtype",
261
+ "ExcelFile",
262
+ "ExcelWriter",
263
+ "Flags",
264
+ "Float32Dtype",
265
+ "Float64Dtype",
266
+ "Grouper",
267
+ "HDFStore",
268
+ "Index",
269
+ "IndexSlice",
270
+ "Int8Dtype",
271
+ "Int16Dtype",
272
+ "Int32Dtype",
273
+ "Int64Dtype",
274
+ "Interval",
275
+ "IntervalDtype",
276
+ "IntervalIndex",
277
+ "MultiIndex",
278
+ "NaT",
279
+ "NamedAgg",
280
+ "Period",
281
+ "PeriodDtype",
282
+ "PeriodIndex",
283
+ "RangeIndex",
284
+ "Series",
285
+ "SparseDtype",
286
+ "StringDtype",
287
+ "Timedelta",
288
+ "TimedeltaIndex",
289
+ "Timestamp",
290
+ "UInt8Dtype",
291
+ "UInt16Dtype",
292
+ "UInt32Dtype",
293
+ "UInt64Dtype",
294
+ "api",
295
+ "array",
296
+ "arrays",
297
+ "bdate_range",
298
+ "col",
299
+ "concat",
300
+ "crosstab",
301
+ "cut",
302
+ "date_range",
303
+ "describe_option",
304
+ "errors",
305
+ "eval",
306
+ "factorize",
307
+ "from_dummies",
308
+ "get_dummies",
309
+ "get_option",
310
+ "infer_freq",
311
+ "interval_range",
312
+ "io",
313
+ "isna",
314
+ "isnull",
315
+ "json_normalize",
316
+ "lreshape",
317
+ "melt",
318
+ "merge",
319
+ "merge_asof",
320
+ "merge_ordered",
321
+ "notna",
322
+ "notnull",
323
+ "offsets",
324
+ "option_context",
325
+ "options",
326
+ "period_range",
327
+ "pivot",
328
+ "pivot_table",
329
+ "plotting",
330
+ "qcut",
331
+ "read_clipboard",
332
+ "read_csv",
333
+ "read_excel",
334
+ "read_feather",
335
+ "read_fwf",
336
+ "read_hdf",
337
+ "read_html",
338
+ "read_iceberg",
339
+ "read_json",
340
+ "read_orc",
341
+ "read_parquet",
342
+ "read_pickle",
343
+ "read_sas",
344
+ "read_spss",
345
+ "read_sql",
346
+ "read_sql_query",
347
+ "read_sql_table",
348
+ "read_stata",
349
+ "read_table",
350
+ "read_xml",
351
+ "reset_option",
352
+ "set_eng_float_format",
353
+ "set_option",
354
+ "show_versions",
355
+ "test",
356
+ "testing",
357
+ "timedelta_range",
358
+ "to_datetime",
359
+ "to_numeric",
360
+ "to_pickle",
361
+ "to_timedelta",
362
+ "tseries",
363
+ "unique",
364
+ "wide_to_long",
365
+ ]
loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (7.77 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/_typing.cpython-312.pyc ADDED
Binary file (19 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/_version_meson.cpython-312.pyc ADDED
Binary file (283 Bytes). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/__pycache__/testing.cpython-312.pyc ADDED
Binary file (427 Bytes). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__init__.py ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ pandas._config is considered explicitly upstream of everything else in pandas,
3
+ should have no intra-pandas dependencies.
4
+
5
+ importing `dates` and `display` ensures that keys needed by _libs
6
+ are initialized.
7
+ """
8
+
9
+ __all__ = [
10
+ "config",
11
+ "describe_option",
12
+ "detect_console_encoding",
13
+ "get_option",
14
+ "option_context",
15
+ "options",
16
+ "reset_option",
17
+ "set_option",
18
+ ]
19
+ from pandas._config import config
20
+ from pandas._config import dates # pyright: ignore[reportUnusedImport] # noqa: F401
21
+ from pandas._config.config import (
22
+ _global_config,
23
+ describe_option,
24
+ get_option,
25
+ option_context,
26
+ options,
27
+ reset_option,
28
+ set_option,
29
+ )
30
+ from pandas._config.display import detect_console_encoding
31
+
32
+
33
+ def using_string_dtype() -> bool:
34
+ _mode_options = _global_config["future"]
35
+ return _mode_options["infer_string"]
36
+
37
+
38
+ def using_python_scalars() -> bool:
39
+ _mode_options = _global_config["future"]
40
+ return _mode_options["python_scalars"]
41
+
42
+
43
+ def is_nan_na() -> bool:
44
+ _mode_options = _global_config["future"]
45
+ return not _mode_options["distinguish_nan_and_na"]
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (1.46 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc ADDED
Binary file (33.6 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc ADDED
Binary file (988 Bytes). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc ADDED
Binary file (2.05 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc ADDED
Binary file (6.13 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/config.py ADDED
@@ -0,0 +1,954 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ The config module holds package-wide configurables and provides
3
+ a uniform API for working with them.
4
+
5
+ Overview
6
+ ========
7
+
8
+ This module supports the following requirements:
9
+ - options are referenced using keys in dot.notation, e.g. "x.y.option - z".
10
+ - keys are case-insensitive.
11
+ - functions should accept partial/regex keys, when unambiguous.
12
+ - options can be registered by modules at import time.
13
+ - options can be registered at init-time (via core.config_init)
14
+ - options have a default value, and (optionally) a description and
15
+ validation function associated with them.
16
+ - options can be deprecated, in which case referencing them
17
+ should produce a warning.
18
+ - deprecated options can optionally be rerouted to a replacement
19
+ so that accessing a deprecated option reroutes to a differently
20
+ named option.
21
+ - options can be reset to their default value.
22
+ - all option can be reset to their default value at once.
23
+ - all options in a certain sub - namespace can be reset at once.
24
+ - the user can set / get / reset or ask for the description of an option.
25
+ - a developer can register and mark an option as deprecated.
26
+ - you can register a callback to be invoked when the option value
27
+ is set or reset. Changing the stored value is considered misuse, but
28
+ is not verboten.
29
+
30
+ Implementation
31
+ ==============
32
+
33
+ - Data is stored using nested dictionaries, and should be accessed
34
+ through the provided API.
35
+
36
+ - "Registered options" and "Deprecated options" have metadata associated
37
+ with them, which are stored in auxiliary dictionaries keyed on the
38
+ fully-qualified key, e.g. "x.y.z.option".
39
+
40
+ - the config_init module is imported by the package's __init__.py file.
41
+ placing any register_option() calls there will ensure those options
42
+ are available as soon as pandas is loaded. If you use register_option
43
+ in a module, it will only be available after that module is imported,
44
+ which you should be aware of.
45
+
46
+ - `config_prefix` is a context_manager (for use with the `with` keyword)
47
+ which can save developers some typing, see the docstring.
48
+
49
+ """
50
+
51
+ from __future__ import annotations
52
+
53
+ from contextlib import contextmanager
54
+ import re
55
+ from typing import (
56
+ TYPE_CHECKING,
57
+ Any,
58
+ NamedTuple,
59
+ cast,
60
+ )
61
+ import warnings
62
+
63
+ from pandas._typing import F
64
+ from pandas.util._exceptions import find_stack_level
65
+
66
+ if TYPE_CHECKING:
67
+ from collections.abc import (
68
+ Callable,
69
+ Generator,
70
+ Sequence,
71
+ )
72
+
73
+
74
+ class DeprecatedOption(NamedTuple):
75
+ key: str
76
+ category: type[Warning]
77
+ msg: str | None
78
+ rkey: str | None
79
+ removal_ver: str | None
80
+
81
+
82
+ class RegisteredOption(NamedTuple):
83
+ key: str
84
+ defval: Any
85
+ doc: str
86
+ validator: Callable[[object], Any] | None
87
+ cb: Callable[[str], Any] | None
88
+
89
+
90
+ # holds deprecated option metadata
91
+ _deprecated_options: dict[str, DeprecatedOption] = {}
92
+
93
+ # holds registered option metadata
94
+ _registered_options: dict[str, RegisteredOption] = {}
95
+
96
+ # holds the current values for registered options
97
+ _global_config: dict[str, Any] = {}
98
+
99
+ # keys which have a special meaning
100
+ _reserved_keys: list[str] = ["all"]
101
+
102
+
103
+ class OptionError(AttributeError, KeyError):
104
+ """
105
+ Exception raised for pandas.options.
106
+
107
+ Backwards compatible with KeyError checks.
108
+
109
+ See Also
110
+ --------
111
+ options : Access and modify global pandas settings.
112
+
113
+ Examples
114
+ --------
115
+ >>> pd.options.context
116
+ Traceback (most recent call last):
117
+ OptionError: No such option
118
+ """
119
+
120
+ __module__ = "pandas.errors"
121
+
122
+
123
+ #
124
+ # User API
125
+
126
+
127
+ def _get_single_key(pat: str) -> str:
128
+ keys = _select_options(pat)
129
+ if len(keys) == 0:
130
+ _warn_if_deprecated(pat)
131
+ raise OptionError(f"No such keys(s): {pat!r}")
132
+ if len(keys) > 1:
133
+ raise OptionError("Pattern matched multiple keys")
134
+ key = keys[0]
135
+
136
+ _warn_if_deprecated(key)
137
+
138
+ key = _translate_key(key)
139
+
140
+ return key
141
+
142
+
143
+ def get_option(pat: str) -> Any:
144
+ """
145
+ Retrieve the value of the specified option.
146
+
147
+ This method allows users to query the current value of a given option
148
+ in the pandas configuration system. Options control various display,
149
+ performance, and behavior-related settings within pandas.
150
+
151
+ Parameters
152
+ ----------
153
+ pat : str
154
+ Regexp which should match a single option.
155
+
156
+ .. warning::
157
+
158
+ Partial matches are supported for convenience, but unless you use the
159
+ full option name (e.g. x.y.z.option_name), your code may break in future
160
+ versions if new options with similar names are introduced.
161
+
162
+ Returns
163
+ -------
164
+ Any
165
+ The value of the option.
166
+
167
+ Raises
168
+ ------
169
+ OptionError : if no such option exists
170
+
171
+ See Also
172
+ --------
173
+ set_option : Set the value of the specified option or options.
174
+ reset_option : Reset one or more options to their default value.
175
+ describe_option : Print the description for one or more registered options.
176
+
177
+ Notes
178
+ -----
179
+ For all available options, please view the :ref:`User Guide <options.available>`
180
+ or use ``pandas.describe_option()``.
181
+
182
+ Examples
183
+ --------
184
+ >>> pd.get_option("display.max_columns") # doctest: +SKIP
185
+ 4
186
+ """
187
+ key = _get_single_key(pat)
188
+
189
+ # walk the nested dict
190
+ root, k = _get_root(key)
191
+ return root[k]
192
+
193
+
194
+ def set_option(*args) -> None:
195
+ """
196
+ Set the value of the specified option or options.
197
+
198
+ This method allows fine-grained control over the behavior and display settings
199
+ of pandas. Options affect various functionalities such as output formatting,
200
+ display limits, and operational behavior. Settings can be modified at runtime
201
+ without requiring changes to global configurations or environment variables.
202
+
203
+ Parameters
204
+ ----------
205
+ *args : str | object | dict
206
+ Arguments provided in pairs, which will be interpreted as (pattern, value),
207
+ or as a single dictionary containing multiple option-value pairs.
208
+ pattern: str
209
+ Regexp which should match a single option
210
+ value: object
211
+ New value of option
212
+
213
+ .. warning::
214
+
215
+ Partial pattern matches are supported for convenience, but unless you
216
+ use the full option name (e.g. x.y.z.option_name), your code may break in
217
+ future versions if new options with similar names are introduced.
218
+
219
+ Returns
220
+ -------
221
+ None
222
+ No return value.
223
+
224
+ Raises
225
+ ------
226
+ ValueError if odd numbers of non-keyword arguments are provided
227
+ TypeError if keyword arguments are provided
228
+ OptionError if no such option exists
229
+
230
+ See Also
231
+ --------
232
+ get_option : Retrieve the value of the specified option.
233
+ reset_option : Reset one or more options to their default value.
234
+ describe_option : Print the description for one or more registered options.
235
+ option_context : Context manager to temporarily set options in a ``with``
236
+ statement.
237
+
238
+ Notes
239
+ -----
240
+ For all available options, please view the :ref:`User Guide <options.available>`
241
+ or use ``pandas.describe_option()``.
242
+
243
+ Examples
244
+ --------
245
+ Option-Value Pair Input:
246
+
247
+ >>> pd.set_option("display.max_columns", 4)
248
+ >>> df = pd.DataFrame([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
249
+ >>> df
250
+ 0 1 ... 3 4
251
+ 0 1 2 ... 4 5
252
+ 1 6 7 ... 9 10
253
+ [2 rows x 5 columns]
254
+ >>> pd.reset_option("display.max_columns")
255
+
256
+ Dictionary Input:
257
+
258
+ >>> pd.set_option({"display.max_columns": 4, "display.precision": 1})
259
+ >>> df = pd.DataFrame([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
260
+ >>> df
261
+ 0 1 ... 3 4
262
+ 0 1 2 ... 4 5
263
+ 1 6 7 ... 9 10
264
+ [2 rows x 5 columns]
265
+ >>> pd.reset_option("display.max_columns")
266
+ >>> pd.reset_option("display.precision")
267
+ """
268
+ # Handle dictionary input
269
+ if len(args) == 1 and isinstance(args[0], dict):
270
+ args = tuple(kv for item in args[0].items() for kv in item)
271
+
272
+ nargs = len(args)
273
+ if not nargs or nargs % 2 != 0:
274
+ raise ValueError("Must provide an even number of non-keyword arguments")
275
+
276
+ for k, v in zip(args[::2], args[1::2], strict=True):
277
+ key = _get_single_key(k)
278
+
279
+ opt = _get_registered_option(key)
280
+ if opt and opt.validator:
281
+ opt.validator(v)
282
+
283
+ # walk the nested dict
284
+ root, k_root = _get_root(key)
285
+ root[k_root] = v
286
+
287
+ if opt.cb:
288
+ opt.cb(key)
289
+
290
+
291
+ def describe_option(pat: str = "", _print_desc: bool = True) -> str | None:
292
+ """
293
+ Print the description for one or more registered options.
294
+
295
+ Call with no arguments to get a listing for all registered options.
296
+
297
+ Parameters
298
+ ----------
299
+ pat : str, default ""
300
+ String or string regexp pattern.
301
+ Empty string will return all options.
302
+ For regexp strings, all matching keys will have their description displayed.
303
+ _print_desc : bool, default True
304
+ If True (default) the description(s) will be printed to stdout.
305
+ Otherwise, the description(s) will be returned as a string
306
+ (for testing).
307
+
308
+ Returns
309
+ -------
310
+ None
311
+ If ``_print_desc=True``.
312
+ str
313
+ If the description(s) as a string if ``_print_desc=False``.
314
+
315
+ See Also
316
+ --------
317
+ get_option : Retrieve the value of the specified option.
318
+ set_option : Set the value of the specified option or options.
319
+ reset_option : Reset one or more options to their default value.
320
+
321
+ Notes
322
+ -----
323
+ For all available options, please view the
324
+ :ref:`User Guide <options.available>`.
325
+
326
+ Examples
327
+ --------
328
+ >>> pd.describe_option("display.max_columns") # doctest: +SKIP
329
+ display.max_columns : int
330
+ If max_cols is exceeded, switch to truncate view...
331
+ """
332
+ keys = _select_options(pat)
333
+ if len(keys) == 0:
334
+ raise OptionError(f"No such keys(s) for {pat=}")
335
+
336
+ s = "\n".join([_build_option_description(k) for k in keys])
337
+
338
+ if _print_desc:
339
+ print(s)
340
+ return None
341
+ return s
342
+
343
+
344
+ def reset_option(pat: str) -> None:
345
+ """
346
+ Reset one or more options to their default value.
347
+
348
+ This method resets the specified pandas option(s) back to their default
349
+ values. It allows partial string matching for convenience, but users should
350
+ exercise caution to avoid unintended resets due to changes in option names
351
+ in future versions.
352
+
353
+ Parameters
354
+ ----------
355
+ pat : str/regex
356
+ If specified only options matching ``pat*`` will be reset.
357
+ Pass ``"all"`` as argument to reset all options.
358
+
359
+ .. warning::
360
+
361
+ Partial matches are supported for convenience, but unless you
362
+ use the full option name (e.g. x.y.z.option_name), your code may break
363
+ in future versions if new options with similar names are introduced.
364
+
365
+ Returns
366
+ -------
367
+ None
368
+ No return value.
369
+
370
+ See Also
371
+ --------
372
+ get_option : Retrieve the value of the specified option.
373
+ set_option : Set the value of the specified option or options.
374
+ describe_option : Print the description for one or more registered options.
375
+
376
+ Notes
377
+ -----
378
+ For all available options, please view the
379
+ :ref:`User Guide <options.available>`.
380
+
381
+ Examples
382
+ --------
383
+ >>> pd.reset_option("display.max_columns") # doctest: +SKIP
384
+ """
385
+ keys = _select_options(pat)
386
+
387
+ if len(keys) == 0:
388
+ raise OptionError(f"No such keys(s) for {pat=}")
389
+
390
+ if len(keys) > 1 and len(pat) < 4 and pat != "all":
391
+ raise ValueError(
392
+ "You must specify at least 4 characters when "
393
+ "resetting multiple keys, use the special keyword "
394
+ '"all" to reset all the options to their default value'
395
+ )
396
+
397
+ for k in keys:
398
+ set_option(k, _registered_options[k].defval)
399
+
400
+
401
+ def get_default_val(pat: str):
402
+ key = _get_single_key(pat)
403
+ return _get_registered_option(key).defval
404
+
405
+
406
+ class DictWrapper:
407
+ """provide attribute-style access to a nested dict"""
408
+
409
+ d: dict[str, Any]
410
+
411
+ def __init__(self, d: dict[str, Any], prefix: str = "") -> None:
412
+ object.__setattr__(self, "d", d)
413
+ object.__setattr__(self, "prefix", prefix)
414
+
415
+ def __setattr__(self, key: str, val: Any) -> None:
416
+ prefix = object.__getattribute__(self, "prefix")
417
+ if prefix:
418
+ prefix += "."
419
+ prefix += key
420
+ # you can't set new keys
421
+ # can you can't overwrite subtrees
422
+ if key in self.d and not isinstance(self.d[key], dict):
423
+ set_option(prefix, val)
424
+ else:
425
+ raise OptionError("You can only set the value of existing options")
426
+
427
+ def __getattr__(self, key: str):
428
+ prefix = object.__getattribute__(self, "prefix")
429
+ if prefix:
430
+ prefix += "."
431
+ prefix += key
432
+ try:
433
+ v = object.__getattribute__(self, "d")[key]
434
+ except KeyError as err:
435
+ raise OptionError("No such option") from err
436
+ if isinstance(v, dict):
437
+ return DictWrapper(v, prefix)
438
+ else:
439
+ return get_option(prefix)
440
+
441
+ def __dir__(self) -> list[str]:
442
+ return list(self.d.keys())
443
+
444
+
445
+ options = DictWrapper(_global_config)
446
+ # DictWrapper defines a custom setattr
447
+ object.__setattr__(options, "__module__", "pandas")
448
+
449
+ #
450
+ # Functions for use by pandas developers, in addition to User - api
451
+
452
+
453
+ @contextmanager
454
+ def option_context(*args) -> Generator[None]:
455
+ """
456
+ Context manager to temporarily set options in a ``with`` statement.
457
+
458
+ This method allows users to set one or more pandas options temporarily
459
+ within a controlled block. The previous options' values are restored
460
+ once the block is exited. This is useful when making temporary adjustments
461
+ to pandas' behavior without affecting the global state.
462
+
463
+ Parameters
464
+ ----------
465
+ *args : str | object | dict
466
+ An even amount of arguments provided in pairs which will be
467
+ interpreted as (pattern, value) pairs. Alternatively, a single
468
+ dictionary of {pattern: value} may be provided.
469
+
470
+ Returns
471
+ -------
472
+ None
473
+ No return value.
474
+
475
+ Yields
476
+ ------
477
+ None
478
+ No yield value.
479
+
480
+ See Also
481
+ --------
482
+ get_option : Retrieve the value of the specified option.
483
+ set_option : Set the value of the specified option.
484
+ reset_option : Reset one or more options to their default value.
485
+ describe_option : Print the description for one or more registered options.
486
+
487
+ Notes
488
+ -----
489
+ For all available options, please view the :ref:`User Guide <options.available>`
490
+ or use ``pandas.describe_option()``.
491
+
492
+ Examples
493
+ --------
494
+ >>> from pandas import option_context
495
+ >>> with option_context("display.max_rows", 10, "display.max_columns", 5):
496
+ ... pass
497
+ >>> with option_context({"display.max_rows": 10, "display.max_columns": 5}):
498
+ ... pass
499
+ """
500
+ if len(args) == 1 and isinstance(args[0], dict):
501
+ args = tuple(kv for item in args[0].items() for kv in item)
502
+
503
+ if len(args) % 2 != 0 or len(args) < 2:
504
+ raise ValueError(
505
+ "Provide an even amount of arguments as "
506
+ "option_context(pat, val, pat, val...)."
507
+ )
508
+
509
+ ops = tuple(zip(args[::2], args[1::2], strict=True))
510
+ undo: tuple[tuple[Any, Any], ...] = ()
511
+ try:
512
+ undo = tuple((pat, get_option(pat)) for pat, val in ops)
513
+ for pat, val in ops:
514
+ set_option(pat, val)
515
+ yield
516
+ finally:
517
+ for pat, val in undo:
518
+ set_option(pat, val)
519
+
520
+
521
+ def register_option(
522
+ key: str,
523
+ defval: object,
524
+ doc: str = "",
525
+ validator: Callable[[object], Any] | None = None,
526
+ cb: Callable[[str], Any] | None = None,
527
+ ) -> None:
528
+ """
529
+ Register an option in the package-wide pandas config object
530
+
531
+ Parameters
532
+ ----------
533
+ key : str
534
+ Fully-qualified key, e.g. "x.y.option - z".
535
+ defval : object
536
+ Default value of the option.
537
+ doc : str
538
+ Description of the option.
539
+ validator : Callable, optional
540
+ Function of a single argument, should raise `ValueError` if
541
+ called with a value which is not a legal value for the option.
542
+ cb
543
+ a function of a single argument "key", which is called
544
+ immediately after an option value is set/reset. key is
545
+ the full name of the option.
546
+
547
+ Raises
548
+ ------
549
+ ValueError if `validator` is specified and `defval` is not a valid value.
550
+
551
+ """
552
+ import keyword
553
+ import tokenize
554
+
555
+ key = key.lower()
556
+
557
+ if key in _registered_options:
558
+ raise OptionError(f"Option '{key}' has already been registered")
559
+ if key in _reserved_keys:
560
+ raise OptionError(f"Option '{key}' is a reserved key")
561
+
562
+ # the default value should be legal
563
+ if validator:
564
+ validator(defval)
565
+
566
+ # walk the nested dict, creating dicts as needed along the path
567
+ path = key.split(".")
568
+
569
+ for k in path:
570
+ if not re.match("^" + tokenize.Name + "$", k):
571
+ raise ValueError(f"{k} is not a valid identifier")
572
+ if keyword.iskeyword(k):
573
+ raise ValueError(f"{k} is a python keyword")
574
+
575
+ cursor = _global_config
576
+ msg = "Path prefix to option '{option}' is already an option"
577
+
578
+ for i, p in enumerate(path[:-1]):
579
+ if not isinstance(cursor, dict):
580
+ raise OptionError(msg.format(option=".".join(path[:i])))
581
+ if p not in cursor:
582
+ cursor[p] = {}
583
+ cursor = cursor[p]
584
+
585
+ if not isinstance(cursor, dict):
586
+ raise OptionError(msg.format(option=".".join(path[:-1])))
587
+
588
+ cursor[path[-1]] = defval # initialize
589
+
590
+ # save the option metadata
591
+ _registered_options[key] = RegisteredOption(
592
+ key=key, defval=defval, doc=doc, validator=validator, cb=cb
593
+ )
594
+
595
+
596
+ def deprecate_option(
597
+ key: str,
598
+ category: type[Warning],
599
+ msg: str | None = None,
600
+ rkey: str | None = None,
601
+ removal_ver: str | None = None,
602
+ ) -> None:
603
+ """
604
+ Mark option `key` as deprecated, if code attempts to access this option,
605
+ a warning will be produced, using `msg` if given, or a default message
606
+ if not.
607
+ if `rkey` is given, any access to the key will be re-routed to `rkey`.
608
+
609
+ Neither the existence of `key` nor that if `rkey` is checked. If they
610
+ do not exist, any subsequence access will fail as usual, after the
611
+ deprecation warning is given.
612
+
613
+ Parameters
614
+ ----------
615
+ key : str
616
+ Name of the option to be deprecated.
617
+ must be a fully-qualified option name (e.g "x.y.z.rkey").
618
+ category : Warning
619
+ Warning class for the deprecation.
620
+ msg : str, optional
621
+ Warning message to output when the key is referenced.
622
+ if no message is given a default message will be emitted.
623
+ rkey : str, optional
624
+ Name of an option to reroute access to.
625
+ If specified, any referenced `key` will be
626
+ re-routed to `rkey` including set/get/reset.
627
+ rkey must be a fully-qualified option name (e.g "x.y.z.rkey").
628
+ used by the default message if no `msg` is specified.
629
+ removal_ver : str, optional
630
+ Specifies the version in which this option will
631
+ be removed. used by the default message if no `msg` is specified.
632
+
633
+ Raises
634
+ ------
635
+ OptionError
636
+ If the specified key has already been deprecated.
637
+ """
638
+ key = key.lower()
639
+
640
+ if key in _deprecated_options:
641
+ raise OptionError(f"Option '{key}' has already been defined as deprecated.")
642
+
643
+ _deprecated_options[key] = DeprecatedOption(key, category, msg, rkey, removal_ver)
644
+
645
+
646
+ #
647
+ # functions internal to the module
648
+
649
+
650
+ def _select_options(pat: str) -> list[str]:
651
+ """
652
+ returns a list of keys matching `pat`
653
+
654
+ if pat=="all", returns all registered options
655
+ """
656
+ # short-circuit for exact key
657
+ if pat in _registered_options:
658
+ return [pat]
659
+
660
+ # else look through all of them
661
+ keys = sorted(_registered_options.keys())
662
+ if pat == "all": # reserved key
663
+ return keys
664
+
665
+ return [k for k in keys if re.search(pat, k, re.I)]
666
+
667
+
668
+ def _get_root(key: str) -> tuple[dict[str, Any], str]:
669
+ path = key.split(".")
670
+ cursor = _global_config
671
+ for p in path[:-1]:
672
+ cursor = cursor[p]
673
+ return cursor, path[-1]
674
+
675
+
676
+ def _get_deprecated_option(key: str):
677
+ """
678
+ Retrieves the metadata for a deprecated option, if `key` is deprecated.
679
+
680
+ Returns
681
+ -------
682
+ DeprecatedOption (namedtuple) if key is deprecated, None otherwise
683
+ """
684
+ try:
685
+ d = _deprecated_options[key]
686
+ except KeyError:
687
+ return None
688
+ else:
689
+ return d
690
+
691
+
692
+ def _get_registered_option(key: str):
693
+ """
694
+ Retrieves the option metadata if `key` is a registered option.
695
+
696
+ Returns
697
+ -------
698
+ RegisteredOption (namedtuple) if key is deprecated, None otherwise
699
+ """
700
+ return _registered_options.get(key)
701
+
702
+
703
+ def _translate_key(key: str) -> str:
704
+ """
705
+ if `key` is deprecated and a replacement key defined, will return the
706
+ replacement key, otherwise returns `key` as-is
707
+ """
708
+ d = _get_deprecated_option(key)
709
+ if d:
710
+ return d.rkey or key
711
+ else:
712
+ return key
713
+
714
+
715
+ def _warn_if_deprecated(key: str) -> bool:
716
+ """
717
+ Checks if `key` is a deprecated option and if so, prints a warning.
718
+
719
+ Returns
720
+ -------
721
+ bool - True if `key` is deprecated, False otherwise.
722
+ """
723
+ d = _get_deprecated_option(key)
724
+ if d:
725
+ if d.msg:
726
+ warnings.warn(
727
+ d.msg,
728
+ d.category,
729
+ stacklevel=find_stack_level(),
730
+ )
731
+ else:
732
+ msg = f"'{key}' is deprecated"
733
+ if d.removal_ver:
734
+ msg += f" and will be removed in {d.removal_ver}"
735
+ if d.rkey:
736
+ msg += f", please use '{d.rkey}' instead."
737
+ else:
738
+ msg += ", please refrain from using it."
739
+
740
+ warnings.warn(
741
+ msg,
742
+ d.category,
743
+ stacklevel=find_stack_level(),
744
+ )
745
+ return True
746
+ return False
747
+
748
+
749
+ def _build_option_description(k: str) -> str:
750
+ """Builds a formatted description of a registered option and prints it"""
751
+ o = _get_registered_option(k)
752
+ d = _get_deprecated_option(k)
753
+
754
+ s = f"{k} "
755
+
756
+ if o.doc:
757
+ s += "\n".join(o.doc.strip().split("\n"))
758
+ else:
759
+ s += "No description available."
760
+
761
+ if o:
762
+ with warnings.catch_warnings():
763
+ warnings.simplefilter("ignore", FutureWarning)
764
+ warnings.simplefilter("ignore", DeprecationWarning)
765
+ s += f"\n [default: {o.defval}] [currently: {get_option(k)}]"
766
+
767
+ if d:
768
+ rkey = d.rkey or ""
769
+ s += "\n (Deprecated"
770
+ s += f", use `{rkey}` instead."
771
+ s += ")"
772
+
773
+ return s
774
+
775
+
776
+ # helpers
777
+
778
+
779
+ @contextmanager
780
+ def config_prefix(prefix: str) -> Generator[None]:
781
+ """
782
+ contextmanager for multiple invocations of API with a common prefix
783
+
784
+ supported API functions: (register / get / set )__option
785
+
786
+ Warning: This is not thread - safe, and won't work properly if you import
787
+ the API functions into your module using the "from x import y" construct.
788
+
789
+ Example
790
+ -------
791
+ import pandas._config.config as cf
792
+ with cf.config_prefix("display.font"):
793
+ cf.register_option("color", "red")
794
+ cf.register_option("size", " 5 pt")
795
+ cf.set_option(size, " 6 pt")
796
+ cf.get_option(size)
797
+ ...
798
+
799
+ etc'
800
+
801
+ will register options "display.font.color", "display.font.size", set the
802
+ value of "display.font.size"... and so on.
803
+ """
804
+ # Note: reset_option relies on set_option, and on key directly
805
+ # it does not fit in to this monkey-patching scheme
806
+
807
+ global register_option, get_option, set_option
808
+
809
+ def wrap(func: F) -> F:
810
+ def inner(key: str, *args, **kwds):
811
+ pkey = f"{prefix}.{key}"
812
+ return func(pkey, *args, **kwds)
813
+
814
+ return cast(F, inner)
815
+
816
+ _register_option = register_option
817
+ _get_option = get_option
818
+ _set_option = set_option
819
+ set_option = wrap(set_option)
820
+ get_option = wrap(get_option)
821
+ register_option = wrap(register_option)
822
+ try:
823
+ yield
824
+ finally:
825
+ set_option = _set_option
826
+ get_option = _get_option
827
+ register_option = _register_option
828
+
829
+
830
+ # These factories and methods are handy for use as the validator
831
+ # arg in register_option
832
+
833
+
834
+ def is_type_factory(_type: type[Any]) -> Callable[[Any], None]:
835
+ """
836
+
837
+ Parameters
838
+ ----------
839
+ `_type` - a type to be compared against (e.g. type(x) == `_type`)
840
+
841
+ Returns
842
+ -------
843
+ validator - a function of a single argument x , which raises
844
+ ValueError if type(x) is not equal to `_type`
845
+
846
+ """
847
+
848
+ def inner(x) -> None:
849
+ if type(x) != _type:
850
+ raise ValueError(f"Value must have type '{_type}'")
851
+
852
+ return inner
853
+
854
+
855
+ def is_instance_factory(_type: type | tuple[type, ...]) -> Callable[[Any], None]:
856
+ """
857
+
858
+ Parameters
859
+ ----------
860
+ `_type` - the type to be checked against
861
+
862
+ Returns
863
+ -------
864
+ validator - a function of a single argument x , which raises
865
+ ValueError if x is not an instance of `_type`
866
+
867
+ """
868
+ if isinstance(_type, tuple):
869
+ type_repr = "|".join(map(str, _type))
870
+ else:
871
+ type_repr = f"'{_type}'"
872
+
873
+ def inner(x) -> None:
874
+ if not isinstance(x, _type):
875
+ raise ValueError(f"Value must be an instance of {type_repr}")
876
+
877
+ return inner
878
+
879
+
880
+ def is_one_of_factory(legal_values: Sequence) -> Callable[[Any], None]:
881
+ callables = [c for c in legal_values if callable(c)]
882
+ legal_values = [c for c in legal_values if not callable(c)]
883
+
884
+ def inner(x) -> None:
885
+ if x not in legal_values:
886
+ if not any(c(x) for c in callables):
887
+ uvals = [str(lval) for lval in legal_values]
888
+ pp_values = "|".join(uvals)
889
+ msg = f"Value must be one of {pp_values}"
890
+ if len(callables):
891
+ msg += " or a callable"
892
+ raise ValueError(msg)
893
+
894
+ return inner
895
+
896
+
897
+ def is_nonnegative_int(value: object) -> None:
898
+ """
899
+ Verify that value is None or a positive int.
900
+
901
+ Parameters
902
+ ----------
903
+ value : None or int
904
+ The `value` to be checked.
905
+
906
+ Raises
907
+ ------
908
+ ValueError
909
+ When the value is not None or is a negative integer
910
+ """
911
+ if value is None:
912
+ return
913
+
914
+ elif isinstance(value, int):
915
+ if value >= 0:
916
+ return
917
+
918
+ msg = "Value must be a nonnegative integer or None"
919
+ raise ValueError(msg)
920
+
921
+
922
+ # common type validators, for convenience
923
+ # usage: register_option(... , validator = is_int)
924
+ is_int = is_type_factory(int)
925
+ is_bool = is_type_factory(bool)
926
+ is_float = is_type_factory(float)
927
+ is_str = is_type_factory(str)
928
+ is_text = is_instance_factory((str, bytes))
929
+
930
+
931
+ def is_callable(obj: object) -> bool:
932
+ """
933
+
934
+ Parameters
935
+ ----------
936
+ `obj` - the object to be checked
937
+
938
+ Returns
939
+ -------
940
+ validator - returns True if object is callable
941
+ raises ValueError otherwise.
942
+
943
+ """
944
+ if not callable(obj):
945
+ raise ValueError("Value must be a callable")
946
+ return True
947
+
948
+
949
+ # import set_module here would cause circular import
950
+ get_option.__module__ = "pandas"
951
+ set_option.__module__ = "pandas"
952
+ describe_option.__module__ = "pandas"
953
+ reset_option.__module__ = "pandas"
954
+ option_context.__module__ = "pandas"
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/dates.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ config for datetime formatting
3
+ """
4
+
5
+ from __future__ import annotations
6
+
7
+ from pandas._config import config as cf
8
+
9
+ pc_date_dayfirst_doc = """
10
+ : boolean
11
+ When True, prints and parses dates with the day first, eg 20/01/2005
12
+ """
13
+
14
+ pc_date_yearfirst_doc = """
15
+ : boolean
16
+ When True, prints and parses dates with the year first, eg 2005/01/20
17
+ """
18
+
19
+ with cf.config_prefix("display"):
20
+ # Needed upstream of `_libs` because these are used in tslibs.parsing
21
+ cf.register_option(
22
+ "date_dayfirst", False, pc_date_dayfirst_doc, validator=cf.is_bool
23
+ )
24
+ cf.register_option(
25
+ "date_yearfirst", False, pc_date_yearfirst_doc, validator=cf.is_bool
26
+ )
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/display.py ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Unopinionated display configuration.
3
+ """
4
+
5
+ from __future__ import annotations
6
+
7
+ import locale
8
+ import sys
9
+
10
+ from pandas._config import config as cf
11
+
12
+ # -----------------------------------------------------------------------------
13
+ # Global formatting options
14
+ _initial_defencoding: str | None = None
15
+
16
+
17
+ def detect_console_encoding() -> str:
18
+ """
19
+ Try to find the most capable encoding supported by the console.
20
+ slightly modified from the way IPython handles the same issue.
21
+ """
22
+ global _initial_defencoding
23
+
24
+ encoding = None
25
+ try:
26
+ encoding = sys.stdout.encoding or sys.stdin.encoding
27
+ except (AttributeError, OSError):
28
+ pass
29
+
30
+ # try again for something better
31
+ if not encoding or "ascii" in encoding.lower():
32
+ try:
33
+ encoding = locale.getpreferredencoding()
34
+ except locale.Error:
35
+ # can be raised by locale.setlocale(), which is
36
+ # called by getpreferredencoding
37
+ # (on some systems, see stdlib locale docs)
38
+ pass
39
+
40
+ # when all else fails. this will usually be "ascii"
41
+ if not encoding or "ascii" in encoding.lower():
42
+ encoding = sys.getdefaultencoding()
43
+
44
+ # GH#3360, save the reported defencoding at import time
45
+ # MPL backends may change it. Make available for debugging.
46
+ if not _initial_defencoding:
47
+ _initial_defencoding = sys.getdefaultencoding()
48
+
49
+ return encoding
50
+
51
+
52
+ pc_encoding_doc = """
53
+ : str/unicode
54
+ Defaults to the detected encoding of the console.
55
+ Specifies the encoding to be used for strings returned by to_string,
56
+ these are generally strings meant to be displayed on the console.
57
+ """
58
+
59
+ with cf.config_prefix("display"):
60
+ cf.register_option(
61
+ "encoding", detect_console_encoding(), pc_encoding_doc, validator=cf.is_text
62
+ )
loan-advisor-agent/.venv/Lib/site-packages/pandas/_config/localization.py ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Helpers for configuring locale settings.
3
+
4
+ Name `localization` is chosen to avoid overlap with builtin `locale` module.
5
+ """
6
+
7
+ from __future__ import annotations
8
+
9
+ from contextlib import contextmanager
10
+ import locale
11
+ import platform
12
+ import re
13
+ import subprocess
14
+ from typing import (
15
+ TYPE_CHECKING,
16
+ cast,
17
+ )
18
+
19
+ from pandas._config.config import options
20
+
21
+ if TYPE_CHECKING:
22
+ from collections.abc import Generator
23
+
24
+
25
+ @contextmanager
26
+ def set_locale(
27
+ new_locale: str | tuple[str, str], lc_var: int = locale.LC_ALL
28
+ ) -> Generator[str | tuple[str, str]]:
29
+ """
30
+ Context manager for temporarily setting a locale.
31
+
32
+ Parameters
33
+ ----------
34
+ new_locale : str or tuple
35
+ A string of the form <language_country>.<encoding>. For example to set
36
+ the current locale to US English with a UTF8 encoding, you would pass
37
+ "en_US.UTF-8".
38
+ lc_var : int, default `locale.LC_ALL`
39
+ The category of the locale being set.
40
+
41
+ Notes
42
+ -----
43
+ This is useful when you want to run a particular block of code under a
44
+ particular locale, without globally setting the locale. This probably isn't
45
+ thread-safe.
46
+ """
47
+ # getlocale is not always compliant with setlocale, use setlocale. GH#46595
48
+ current_locale = locale.setlocale(lc_var)
49
+
50
+ try:
51
+ locale.setlocale(lc_var, new_locale)
52
+ normalized_code, normalized_encoding = locale.getlocale()
53
+ if normalized_code is not None and normalized_encoding is not None:
54
+ yield f"{normalized_code}.{normalized_encoding}"
55
+ else:
56
+ yield new_locale
57
+ finally:
58
+ locale.setlocale(lc_var, current_locale)
59
+
60
+
61
+ def can_set_locale(lc: str, lc_var: int = locale.LC_ALL) -> bool:
62
+ """
63
+ Check to see if we can set a locale, and subsequently get the locale,
64
+ without raising an Exception.
65
+
66
+ Parameters
67
+ ----------
68
+ lc : str
69
+ The locale to attempt to set.
70
+ lc_var : int, default `locale.LC_ALL`
71
+ The category of the locale being set.
72
+
73
+ Returns
74
+ -------
75
+ bool
76
+ Whether the passed locale can be set
77
+ """
78
+ try:
79
+ with set_locale(lc, lc_var=lc_var):
80
+ pass
81
+ except (ValueError, locale.Error):
82
+ # horrible name for an Exception subclass
83
+ return False
84
+ else:
85
+ return True
86
+
87
+
88
+ def _valid_locales(locales: list[str] | str, normalize: bool) -> list[str]:
89
+ """
90
+ Return a list of normalized locales that do not throw an ``Exception``
91
+ when set.
92
+
93
+ Parameters
94
+ ----------
95
+ locales : str
96
+ A string where each locale is separated by a newline.
97
+ normalize : bool
98
+ Whether to call ``locale.normalize`` on each locale.
99
+
100
+ Returns
101
+ -------
102
+ valid_locales : list
103
+ A list of valid locales.
104
+ """
105
+ return [
106
+ loc
107
+ for loc in (
108
+ locale.normalize(loc.strip()) if normalize else loc.strip()
109
+ for loc in locales
110
+ )
111
+ if can_set_locale(loc)
112
+ ]
113
+
114
+
115
+ def get_locales(
116
+ prefix: str | None = None,
117
+ normalize: bool = True,
118
+ ) -> list[str]:
119
+ """
120
+ Get all the locales that are available on the system.
121
+
122
+ Parameters
123
+ ----------
124
+ prefix : str
125
+ If not ``None`` then return only those locales with the prefix
126
+ provided. For example to get all English language locales (those that
127
+ start with ``"en"``), pass ``prefix="en"``.
128
+ normalize : bool
129
+ Call ``locale.normalize`` on the resulting list of available locales.
130
+ If ``True``, only locales that can be set without throwing an
131
+ ``Exception`` are returned.
132
+
133
+ Returns
134
+ -------
135
+ locales : list of strings
136
+ A list of locale strings that can be set with ``locale.setlocale()``.
137
+ For example::
138
+
139
+ locale.setlocale(locale.LC_ALL, locale_string)
140
+
141
+ On error will return an empty list (no locale available, e.g. Windows)
142
+
143
+ """
144
+ if platform.system() in ("Linux", "Darwin"):
145
+ raw_locales = subprocess.check_output(["locale", "-a"])
146
+ else:
147
+ # Other platforms e.g. windows platforms don't define "locale -a"
148
+ # Note: is_platform_windows causes circular import here
149
+ return []
150
+
151
+ try:
152
+ # raw_locales is "\n" separated list of locales
153
+ # it may contain non-decodable parts, so split
154
+ # extract what we can and then rejoin.
155
+ split_raw_locales = raw_locales.split(b"\n")
156
+ out_locales = []
157
+ for x in split_raw_locales:
158
+ try:
159
+ out_locales.append(str(x, encoding=cast(str, options.display.encoding)))
160
+ except UnicodeError:
161
+ # 'locale -a' is used to populated 'raw_locales' and on
162
+ # Redhat 7 Linux (and maybe others) prints locale names
163
+ # using windows-1252 encoding. Bug only triggered by
164
+ # a few special characters and when there is an
165
+ # extensive list of installed locales.
166
+ out_locales.append(str(x, encoding="windows-1252"))
167
+
168
+ except TypeError:
169
+ pass
170
+
171
+ if prefix is None:
172
+ return _valid_locales(out_locales, normalize)
173
+
174
+ pattern = re.compile(f"{prefix}.*")
175
+ found = pattern.findall("\n".join(out_locales))
176
+ return _valid_locales(found, normalize)
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/__init__.py ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ __all__ = [
2
+ "Interval",
3
+ "NaT",
4
+ "NaTType",
5
+ "OutOfBoundsDatetime",
6
+ "Period",
7
+ "Timedelta",
8
+ "Timestamp",
9
+ "iNaT",
10
+ ]
11
+
12
+
13
+ # Below imports needs to happen first to ensure pandas top level
14
+ # module gets monkeypatched with the pandas_datetime_CAPI
15
+ # see pandas_datetime_exec in pd_datetime.c
16
+ import pandas._libs.pandas_parser # isort: skip # type: ignore[reportUnusedImport]
17
+ import pandas._libs.pandas_datetime # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
18
+ from pandas._libs.interval import Interval
19
+ from pandas._libs.tslibs import (
20
+ NaT,
21
+ NaTType,
22
+ OutOfBoundsDatetime,
23
+ Period,
24
+ Timedelta,
25
+ Timestamp,
26
+ iNaT,
27
+ )
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc ADDED
Binary file (582 Bytes). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/_cyutility.cp312-win_amd64.lib ADDED
Binary file (2.07 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/_cyutility.cp312-win_amd64.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41c1723240e79d7003f172f5b0df87d7d997bde3387157d7e118370f9e7e51ce
3
+ size 128000
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/algos.cp312-win_amd64.lib ADDED
Binary file (1.98 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/algos.cp312-win_amd64.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc16b63c848a9a6b4104e4640a3bbe83c535da802d75e56fb7ee5956fb98fe0f
3
+ size 1421312
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/algos.pyi ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Any
2
+
3
+ import numpy as np
4
+
5
+ from pandas._typing import npt
6
+
7
+ class Infinity:
8
+ def __eq__(self, other) -> bool: ...
9
+ def __ne__(self, other) -> bool: ...
10
+ def __lt__(self, other) -> bool: ...
11
+ def __le__(self, other) -> bool: ...
12
+ def __gt__(self, other) -> bool: ...
13
+ def __ge__(self, other) -> bool: ...
14
+
15
+ class NegInfinity:
16
+ def __eq__(self, other) -> bool: ...
17
+ def __ne__(self, other) -> bool: ...
18
+ def __lt__(self, other) -> bool: ...
19
+ def __le__(self, other) -> bool: ...
20
+ def __gt__(self, other) -> bool: ...
21
+ def __ge__(self, other) -> bool: ...
22
+
23
+ def unique_deltas(
24
+ arr: np.ndarray, # const int64_t[:]
25
+ ) -> np.ndarray: ... # np.ndarray[np.int64, ndim=1]
26
+ def is_lexsorted(list_of_arrays: list[npt.NDArray[np.int64]]) -> bool: ...
27
+ def groupsort_indexer(
28
+ index: np.ndarray, # const int64_t[:]
29
+ ngroups: int,
30
+ ) -> tuple[
31
+ np.ndarray, # ndarray[int64_t, ndim=1]
32
+ np.ndarray, # ndarray[int64_t, ndim=1]
33
+ ]: ...
34
+ def kth_smallest(
35
+ arr: np.ndarray, # numeric[:]
36
+ k: int,
37
+ ) -> Any: ... # numeric
38
+
39
+ # ----------------------------------------------------------------------
40
+ # Pairwise correlation/covariance
41
+
42
+ def nancorr(
43
+ mat: npt.NDArray[np.float64], # const float64_t[:, :]
44
+ cov: bool = ...,
45
+ minp: int | None = ...,
46
+ ) -> npt.NDArray[np.float64]: ... # ndarray[float64_t, ndim=2]
47
+ def nancorr_spearman(
48
+ mat: npt.NDArray[np.float64], # ndarray[float64_t, ndim=2]
49
+ minp: int = ...,
50
+ ) -> npt.NDArray[np.float64]: ... # ndarray[float64_t, ndim=2]
51
+
52
+ # ----------------------------------------------------------------------
53
+
54
+ def validate_limit(nobs: int | None, limit=...) -> int: ...
55
+ def get_fill_indexer(
56
+ mask: npt.NDArray[np.bool_],
57
+ limit: int | None = None,
58
+ ) -> npt.NDArray[np.intp]: ...
59
+ def pad(
60
+ old: np.ndarray, # ndarray[numeric_object_t]
61
+ new: np.ndarray, # ndarray[numeric_object_t]
62
+ limit=...,
63
+ ) -> npt.NDArray[np.intp]: ... # np.ndarray[np.intp, ndim=1]
64
+ def pad_inplace(
65
+ values: np.ndarray, # numeric_object_t[:]
66
+ mask: np.ndarray, # uint8_t[:]
67
+ limit=...,
68
+ ) -> None: ...
69
+ def pad_2d_inplace(
70
+ values: np.ndarray, # numeric_object_t[:, :]
71
+ mask: np.ndarray, # const uint8_t[:, :]
72
+ limit=...,
73
+ ) -> None: ...
74
+ def backfill(
75
+ old: np.ndarray, # ndarray[numeric_object_t]
76
+ new: np.ndarray, # ndarray[numeric_object_t]
77
+ limit=...,
78
+ ) -> npt.NDArray[np.intp]: ... # np.ndarray[np.intp, ndim=1]
79
+ def backfill_inplace(
80
+ values: np.ndarray, # numeric_object_t[:]
81
+ mask: np.ndarray, # uint8_t[:]
82
+ limit=...,
83
+ ) -> None: ...
84
+ def backfill_2d_inplace(
85
+ values: np.ndarray, # numeric_object_t[:, :]
86
+ mask: np.ndarray, # const uint8_t[:, :]
87
+ limit=...,
88
+ ) -> None: ...
89
+ def is_monotonic(
90
+ arr: np.ndarray, # ndarray[numeric_object_t, ndim=1]
91
+ timelike: bool,
92
+ ) -> tuple[bool, bool, bool]: ...
93
+
94
+ # ----------------------------------------------------------------------
95
+ # rank_1d, rank_2d
96
+ # ----------------------------------------------------------------------
97
+
98
+ def rank_1d(
99
+ values: np.ndarray, # ndarray[numeric_object_t, ndim=1]
100
+ labels: np.ndarray | None = ..., # const int64_t[:]=None
101
+ is_datetimelike: bool = ...,
102
+ ties_method=...,
103
+ ascending: bool = ...,
104
+ pct: bool = ...,
105
+ na_option=...,
106
+ mask: npt.NDArray[np.bool_] | None = ...,
107
+ ) -> np.ndarray: ... # np.ndarray[float64_t, ndim=1]
108
+ def rank_2d(
109
+ in_arr: np.ndarray, # ndarray[numeric_object_t, ndim=2]
110
+ axis: int = ...,
111
+ is_datetimelike: bool = ...,
112
+ ties_method=...,
113
+ ascending: bool = ...,
114
+ na_option=...,
115
+ pct: bool = ...,
116
+ ) -> np.ndarray: ... # np.ndarray[float64_t, ndim=1]
117
+ def diff_2d(
118
+ arr: np.ndarray, # ndarray[diff_t, ndim=2]
119
+ out: np.ndarray, # ndarray[out_t, ndim=2]
120
+ periods: int,
121
+ axis: int,
122
+ datetimelike: bool = ...,
123
+ ) -> None: ...
124
+ def ensure_platform_int(arr: object) -> npt.NDArray[np.intp]: ...
125
+ def ensure_object(arr: object) -> npt.NDArray[np.object_]: ...
126
+ def ensure_float64(arr: object) -> npt.NDArray[np.float64]: ...
127
+ def ensure_int8(arr: object) -> npt.NDArray[np.int8]: ...
128
+ def ensure_int16(arr: object) -> npt.NDArray[np.int16]: ...
129
+ def ensure_int32(arr: object) -> npt.NDArray[np.int32]: ...
130
+ def ensure_int64(arr: object) -> npt.NDArray[np.int64]: ...
131
+ def ensure_uint64(arr: object) -> npt.NDArray[np.uint64]: ...
132
+ def take_1d_int8_int8(
133
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
134
+ ) -> None: ...
135
+ def take_1d_int8_int32(
136
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
137
+ ) -> None: ...
138
+ def take_1d_int8_int64(
139
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
140
+ ) -> None: ...
141
+ def take_1d_int8_float64(
142
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
143
+ ) -> None: ...
144
+ def take_1d_int16_int16(
145
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
146
+ ) -> None: ...
147
+ def take_1d_int16_int32(
148
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
149
+ ) -> None: ...
150
+ def take_1d_int16_int64(
151
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
152
+ ) -> None: ...
153
+ def take_1d_int16_float64(
154
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
155
+ ) -> None: ...
156
+ def take_1d_int32_int32(
157
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
158
+ ) -> None: ...
159
+ def take_1d_int32_int64(
160
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
161
+ ) -> None: ...
162
+ def take_1d_int32_float64(
163
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
164
+ ) -> None: ...
165
+ def take_1d_int64_int64(
166
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
167
+ ) -> None: ...
168
+ def take_1d_uint16_uint16(
169
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
170
+ ) -> None: ...
171
+ def take_1d_uint32_uint32(
172
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
173
+ ) -> None: ...
174
+ def take_1d_uint64_uint64(
175
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
176
+ ) -> None: ...
177
+ def take_1d_int64_float64(
178
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
179
+ ) -> None: ...
180
+ def take_1d_float32_float32(
181
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
182
+ ) -> None: ...
183
+ def take_1d_float32_float64(
184
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
185
+ ) -> None: ...
186
+ def take_1d_float64_float64(
187
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
188
+ ) -> None: ...
189
+ def take_1d_object_object(
190
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
191
+ ) -> None: ...
192
+ def take_1d_bool_bool(
193
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
194
+ ) -> None: ...
195
+ def take_1d_bool_object(
196
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
197
+ ) -> None: ...
198
+ def take_2d_axis0_int8_int8(
199
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
200
+ ) -> None: ...
201
+ def take_2d_axis0_int8_int32(
202
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
203
+ ) -> None: ...
204
+ def take_2d_axis0_int8_int64(
205
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
206
+ ) -> None: ...
207
+ def take_2d_axis0_int8_float64(
208
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
209
+ ) -> None: ...
210
+ def take_2d_axis0_int16_int16(
211
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
212
+ ) -> None: ...
213
+ def take_2d_axis0_int16_int32(
214
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
215
+ ) -> None: ...
216
+ def take_2d_axis0_int16_int64(
217
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
218
+ ) -> None: ...
219
+ def take_2d_axis0_int16_float64(
220
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
221
+ ) -> None: ...
222
+ def take_2d_axis0_int32_int32(
223
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
224
+ ) -> None: ...
225
+ def take_2d_axis0_int32_int64(
226
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
227
+ ) -> None: ...
228
+ def take_2d_axis0_int32_float64(
229
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
230
+ ) -> None: ...
231
+ def take_2d_axis0_int64_int64(
232
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
233
+ ) -> None: ...
234
+ def take_2d_axis0_int64_float64(
235
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
236
+ ) -> None: ...
237
+ def take_2d_axis0_uint16_uint16(
238
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
239
+ ) -> None: ...
240
+ def take_2d_axis0_uint32_uint32(
241
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
242
+ ) -> None: ...
243
+ def take_2d_axis0_uint64_uint64(
244
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
245
+ ) -> None: ...
246
+ def take_2d_axis0_float32_float32(
247
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
248
+ ) -> None: ...
249
+ def take_2d_axis0_float32_float64(
250
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
251
+ ) -> None: ...
252
+ def take_2d_axis0_float64_float64(
253
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
254
+ ) -> None: ...
255
+ def take_2d_axis0_object_object(
256
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
257
+ ) -> None: ...
258
+ def take_2d_axis0_bool_bool(
259
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
260
+ ) -> None: ...
261
+ def take_2d_axis0_bool_object(
262
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
263
+ ) -> None: ...
264
+ def take_2d_axis1_int8_int8(
265
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
266
+ ) -> None: ...
267
+ def take_2d_axis1_int8_int32(
268
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
269
+ ) -> None: ...
270
+ def take_2d_axis1_int8_int64(
271
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
272
+ ) -> None: ...
273
+ def take_2d_axis1_int8_float64(
274
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
275
+ ) -> None: ...
276
+ def take_2d_axis1_int16_int16(
277
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
278
+ ) -> None: ...
279
+ def take_2d_axis1_int16_int32(
280
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
281
+ ) -> None: ...
282
+ def take_2d_axis1_int16_int64(
283
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
284
+ ) -> None: ...
285
+ def take_2d_axis1_int16_float64(
286
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
287
+ ) -> None: ...
288
+ def take_2d_axis1_int32_int32(
289
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
290
+ ) -> None: ...
291
+ def take_2d_axis1_int32_int64(
292
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
293
+ ) -> None: ...
294
+ def take_2d_axis1_int32_float64(
295
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
296
+ ) -> None: ...
297
+ def take_2d_axis1_int64_int64(
298
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
299
+ ) -> None: ...
300
+ def take_2d_axis1_uint16_uint16(
301
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
302
+ ) -> None: ...
303
+ def take_2d_axis1_uint32_uint32(
304
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
305
+ ) -> None: ...
306
+ def take_2d_axis1_uint64_uint64(
307
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
308
+ ) -> None: ...
309
+ def take_2d_axis1_int64_float64(
310
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
311
+ ) -> None: ...
312
+ def take_2d_axis1_float32_float32(
313
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
314
+ ) -> None: ...
315
+ def take_2d_axis1_float32_float64(
316
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
317
+ ) -> None: ...
318
+ def take_2d_axis1_float64_float64(
319
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
320
+ ) -> None: ...
321
+ def take_2d_axis1_object_object(
322
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
323
+ ) -> None: ...
324
+ def take_2d_axis1_bool_bool(
325
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
326
+ ) -> None: ...
327
+ def take_2d_axis1_bool_object(
328
+ values: np.ndarray, indexer: npt.NDArray[np.intp], out: np.ndarray, fill_value=...
329
+ ) -> None: ...
330
+ def take_2d_multi_int8_int8(
331
+ values: np.ndarray,
332
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
333
+ out: np.ndarray,
334
+ fill_value=...,
335
+ ) -> None: ...
336
+ def take_2d_multi_int8_int32(
337
+ values: np.ndarray,
338
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
339
+ out: np.ndarray,
340
+ fill_value=...,
341
+ ) -> None: ...
342
+ def take_2d_multi_int8_int64(
343
+ values: np.ndarray,
344
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
345
+ out: np.ndarray,
346
+ fill_value=...,
347
+ ) -> None: ...
348
+ def take_2d_multi_int8_float64(
349
+ values: np.ndarray,
350
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
351
+ out: np.ndarray,
352
+ fill_value=...,
353
+ ) -> None: ...
354
+ def take_2d_multi_int16_int16(
355
+ values: np.ndarray,
356
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
357
+ out: np.ndarray,
358
+ fill_value=...,
359
+ ) -> None: ...
360
+ def take_2d_multi_int16_int32(
361
+ values: np.ndarray,
362
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
363
+ out: np.ndarray,
364
+ fill_value=...,
365
+ ) -> None: ...
366
+ def take_2d_multi_int16_int64(
367
+ values: np.ndarray,
368
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
369
+ out: np.ndarray,
370
+ fill_value=...,
371
+ ) -> None: ...
372
+ def take_2d_multi_int16_float64(
373
+ values: np.ndarray,
374
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
375
+ out: np.ndarray,
376
+ fill_value=...,
377
+ ) -> None: ...
378
+ def take_2d_multi_int32_int32(
379
+ values: np.ndarray,
380
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
381
+ out: np.ndarray,
382
+ fill_value=...,
383
+ ) -> None: ...
384
+ def take_2d_multi_int32_int64(
385
+ values: np.ndarray,
386
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
387
+ out: np.ndarray,
388
+ fill_value=...,
389
+ ) -> None: ...
390
+ def take_2d_multi_int32_float64(
391
+ values: np.ndarray,
392
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
393
+ out: np.ndarray,
394
+ fill_value=...,
395
+ ) -> None: ...
396
+ def take_2d_multi_int64_float64(
397
+ values: np.ndarray,
398
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
399
+ out: np.ndarray,
400
+ fill_value=...,
401
+ ) -> None: ...
402
+ def take_2d_multi_float32_float32(
403
+ values: np.ndarray,
404
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
405
+ out: np.ndarray,
406
+ fill_value=...,
407
+ ) -> None: ...
408
+ def take_2d_multi_float32_float64(
409
+ values: np.ndarray,
410
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
411
+ out: np.ndarray,
412
+ fill_value=...,
413
+ ) -> None: ...
414
+ def take_2d_multi_float64_float64(
415
+ values: np.ndarray,
416
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
417
+ out: np.ndarray,
418
+ fill_value=...,
419
+ ) -> None: ...
420
+ def take_2d_multi_object_object(
421
+ values: np.ndarray,
422
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
423
+ out: np.ndarray,
424
+ fill_value=...,
425
+ ) -> None: ...
426
+ def take_2d_multi_bool_bool(
427
+ values: np.ndarray,
428
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
429
+ out: np.ndarray,
430
+ fill_value=...,
431
+ ) -> None: ...
432
+ def take_2d_multi_bool_object(
433
+ values: np.ndarray,
434
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
435
+ out: np.ndarray,
436
+ fill_value=...,
437
+ ) -> None: ...
438
+ def take_2d_multi_int64_int64(
439
+ values: np.ndarray,
440
+ indexer: tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]],
441
+ out: np.ndarray,
442
+ fill_value=...,
443
+ ) -> None: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/arrays.cp312-win_amd64.lib ADDED
Binary file (2 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/arrays.cp312-win_amd64.pyd ADDED
Binary file (81.4 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/arrays.pyi ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Sequence
2
+ from typing import Self
3
+
4
+ import numpy as np
5
+
6
+ from pandas._typing import (
7
+ AxisInt,
8
+ DtypeObj,
9
+ Shape,
10
+ )
11
+
12
+ class NDArrayBacked:
13
+ _dtype: DtypeObj
14
+ _ndarray: np.ndarray
15
+ def __init__(self, values: np.ndarray, dtype: DtypeObj) -> None: ...
16
+ @classmethod
17
+ def _simple_new(cls, values: np.ndarray, dtype: DtypeObj) -> Self: ...
18
+ def _from_backing_data(self, values: np.ndarray) -> Self: ...
19
+ def __setstate__(self, state) -> None: ...
20
+ def __len__(self) -> int: ...
21
+ @property
22
+ def shape(self) -> Shape: ...
23
+ @property
24
+ def ndim(self) -> int: ...
25
+ @property
26
+ def size(self) -> int: ...
27
+ @property
28
+ def nbytes(self) -> int: ...
29
+ def copy(self, order=...) -> Self: ...
30
+ def delete(self, loc, axis=...) -> Self: ...
31
+ def swapaxes(self, axis1, axis2) -> Self: ...
32
+ def repeat(self, repeats: int | Sequence[int], axis: int | None = ...) -> Self: ...
33
+ def reshape(self, *args, **kwargs) -> Self: ...
34
+ def ravel(self, order=...) -> Self: ...
35
+ @property
36
+ def T(self) -> Self: ...
37
+ @classmethod
38
+ def _concat_same_type(
39
+ cls, to_concat: Sequence[Self], axis: AxisInt = ...
40
+ ) -> Self: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/byteswap.cp312-win_amd64.lib ADDED
Binary file (2.03 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/byteswap.cp312-win_amd64.pyd ADDED
Binary file (38.9 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/byteswap.pyi ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ def read_float_with_byteswap(data: bytes, offset: int, byteswap: bool) -> float: ...
2
+ def read_double_with_byteswap(data: bytes, offset: int, byteswap: bool) -> float: ...
3
+ def read_uint16_with_byteswap(data: bytes, offset: int, byteswap: bool) -> int: ...
4
+ def read_uint32_with_byteswap(data: bytes, offset: int, byteswap: bool) -> int: ...
5
+ def read_uint64_with_byteswap(data: bytes, offset: int, byteswap: bool) -> int: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/groupby.cp312-win_amd64.lib ADDED
Binary file (2.01 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/groupby.cp312-win_amd64.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7100fb22b16b59620e06ddc3d9779890da768d50ce12f09e8b8c9dfa2efc67b1
3
+ size 1721856
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/groupby.pyi ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Literal
2
+
3
+ import numpy as np
4
+
5
+ from pandas._typing import npt
6
+
7
+ def group_median_float64(
8
+ out: np.ndarray, # ndarray[float64_t, ndim=2]
9
+ counts: npt.NDArray[np.int64],
10
+ values: np.ndarray, # ndarray[float64_t, ndim=2]
11
+ labels: npt.NDArray[np.int64],
12
+ min_count: int = ..., # Py_ssize_t
13
+ mask: np.ndarray | None = ...,
14
+ result_mask: np.ndarray | None = ...,
15
+ is_datetimelike: bool = ..., # bint
16
+ skipna: bool = ...,
17
+ ) -> None: ...
18
+ def group_cumprod(
19
+ out: np.ndarray, # float64_t[:, ::1]
20
+ values: np.ndarray, # const float64_t[:, :]
21
+ labels: np.ndarray, # const int64_t[:]
22
+ ngroups: int,
23
+ is_datetimelike: bool,
24
+ skipna: bool = ...,
25
+ mask: np.ndarray | None = ...,
26
+ result_mask: np.ndarray | None = ...,
27
+ ) -> None: ...
28
+ def group_cumsum(
29
+ out: np.ndarray, # int64float_t[:, ::1]
30
+ values: np.ndarray, # ndarray[int64float_t, ndim=2]
31
+ labels: np.ndarray, # const int64_t[:]
32
+ ngroups: int,
33
+ is_datetimelike: bool,
34
+ skipna: bool = ...,
35
+ mask: np.ndarray | None = ...,
36
+ result_mask: np.ndarray | None = ...,
37
+ ) -> None: ...
38
+ def group_shift_indexer(
39
+ out: np.ndarray, # int64_t[::1]
40
+ labels: np.ndarray, # const int64_t[:]
41
+ ngroups: int,
42
+ periods: int,
43
+ ) -> None: ...
44
+ def group_fillna_indexer(
45
+ out: np.ndarray, # ndarray[intp_t]
46
+ labels: np.ndarray, # ndarray[int64_t]
47
+ mask: npt.NDArray[np.uint8],
48
+ limit: int, # int64_t
49
+ compute_ffill: bool,
50
+ ngroups: int,
51
+ ) -> None: ...
52
+ def group_any_all(
53
+ out: np.ndarray, # uint8_t[::1]
54
+ values: np.ndarray, # const uint8_t[::1]
55
+ labels: np.ndarray, # const int64_t[:]
56
+ mask: np.ndarray, # const uint8_t[::1]
57
+ val_test: Literal["any", "all"],
58
+ skipna: bool,
59
+ result_mask: np.ndarray | None,
60
+ ) -> None: ...
61
+ def group_sum(
62
+ out: np.ndarray, # complexfloatingintuint_t[:, ::1]
63
+ counts: np.ndarray, # int64_t[::1]
64
+ values: np.ndarray, # ndarray[complexfloatingintuint_t, ndim=2]
65
+ labels: np.ndarray, # const intp_t[:]
66
+ mask: np.ndarray | None,
67
+ result_mask: np.ndarray | None = ...,
68
+ min_count: int = ...,
69
+ is_datetimelike: bool = ...,
70
+ initial: object = ...,
71
+ skipna: bool = ...,
72
+ ) -> None: ...
73
+ def group_prod(
74
+ out: np.ndarray, # int64float_t[:, ::1]
75
+ counts: np.ndarray, # int64_t[::1]
76
+ values: np.ndarray, # ndarray[int64float_t, ndim=2]
77
+ labels: np.ndarray, # const intp_t[:]
78
+ mask: np.ndarray | None,
79
+ result_mask: np.ndarray | None = ...,
80
+ min_count: int = ...,
81
+ skipna: bool = ...,
82
+ ) -> None: ...
83
+ def group_var(
84
+ out: np.ndarray, # floating[:, ::1]
85
+ counts: np.ndarray, # int64_t[::1]
86
+ values: np.ndarray, # ndarray[floating, ndim=2]
87
+ labels: np.ndarray, # const intp_t[:]
88
+ min_count: int = ..., # Py_ssize_t
89
+ ddof: int = ..., # int64_t
90
+ mask: np.ndarray | None = ...,
91
+ result_mask: np.ndarray | None = ...,
92
+ is_datetimelike: bool = ...,
93
+ name: str = ...,
94
+ skipna: bool = ...,
95
+ ) -> None: ...
96
+ def group_skew(
97
+ out: np.ndarray, # float64_t[:, ::1]
98
+ counts: np.ndarray, # int64_t[::1]
99
+ values: np.ndarray, # ndarray[float64_T, ndim=2]
100
+ labels: np.ndarray, # const intp_t[::1]
101
+ mask: np.ndarray | None = ...,
102
+ result_mask: np.ndarray | None = ...,
103
+ skipna: bool = ...,
104
+ ) -> None: ...
105
+ def group_kurt(
106
+ out: np.ndarray, # float64_t[:, ::1]
107
+ counts: np.ndarray, # int64_t[::1]
108
+ values: np.ndarray, # ndarray[float64_T, ndim=2]
109
+ labels: np.ndarray, # const intp_t[::1]
110
+ mask: np.ndarray | None = ...,
111
+ result_mask: np.ndarray | None = ...,
112
+ skipna: bool = ...,
113
+ ) -> None: ...
114
+ def group_mean(
115
+ out: np.ndarray, # floating[:, ::1]
116
+ counts: np.ndarray, # int64_t[::1]
117
+ values: np.ndarray, # ndarray[floating, ndim=2]
118
+ labels: np.ndarray, # const intp_t[:]
119
+ min_count: int = ..., # Py_ssize_t
120
+ is_datetimelike: bool = ..., # bint
121
+ mask: np.ndarray | None = ...,
122
+ result_mask: np.ndarray | None = ...,
123
+ skipna: bool = ...,
124
+ ) -> None: ...
125
+ def group_ohlc(
126
+ out: np.ndarray, # floatingintuint_t[:, ::1]
127
+ counts: np.ndarray, # int64_t[::1]
128
+ values: np.ndarray, # ndarray[floatingintuint_t, ndim=2]
129
+ labels: np.ndarray, # const intp_t[:]
130
+ min_count: int = ...,
131
+ mask: np.ndarray | None = ...,
132
+ result_mask: np.ndarray | None = ...,
133
+ ) -> None: ...
134
+ def group_quantile(
135
+ out: npt.NDArray[np.float64],
136
+ values: np.ndarray, # ndarray[numeric, ndim=1]
137
+ labels: npt.NDArray[np.intp],
138
+ mask: npt.NDArray[np.uint8],
139
+ qs: npt.NDArray[np.float64], # const
140
+ starts: npt.NDArray[np.int64],
141
+ ends: npt.NDArray[np.int64],
142
+ interpolation: Literal["linear", "lower", "higher", "nearest", "midpoint"],
143
+ result_mask: np.ndarray | None,
144
+ is_datetimelike: bool,
145
+ ) -> None: ...
146
+ def group_last(
147
+ out: np.ndarray, # rank_t[:, ::1]
148
+ counts: np.ndarray, # int64_t[::1]
149
+ values: np.ndarray, # ndarray[rank_t, ndim=2]
150
+ labels: np.ndarray, # const int64_t[:]
151
+ mask: npt.NDArray[np.bool_] | None,
152
+ result_mask: npt.NDArray[np.bool_] | None = ...,
153
+ min_count: int = ..., # Py_ssize_t
154
+ is_datetimelike: bool = ...,
155
+ skipna: bool = ...,
156
+ ) -> None: ...
157
+ def group_nth(
158
+ out: np.ndarray, # rank_t[:, ::1]
159
+ counts: np.ndarray, # int64_t[::1]
160
+ values: np.ndarray, # ndarray[rank_t, ndim=2]
161
+ labels: np.ndarray, # const int64_t[:]
162
+ mask: npt.NDArray[np.bool_] | None,
163
+ result_mask: npt.NDArray[np.bool_] | None = ...,
164
+ min_count: int = ..., # int64_t
165
+ rank: int = ..., # int64_t
166
+ is_datetimelike: bool = ...,
167
+ skipna: bool = ...,
168
+ ) -> None: ...
169
+ def group_rank(
170
+ out: np.ndarray, # float64_t[:, ::1]
171
+ values: np.ndarray, # ndarray[rank_t, ndim=2]
172
+ labels: np.ndarray, # const int64_t[:]
173
+ ngroups: int,
174
+ is_datetimelike: bool,
175
+ ties_method: Literal["average", "min", "max", "first", "dense"] = ...,
176
+ ascending: bool = ...,
177
+ pct: bool = ...,
178
+ na_option: Literal["keep", "top", "bottom"] = ...,
179
+ mask: npt.NDArray[np.bool_] | None = ...,
180
+ ) -> None: ...
181
+ def group_max(
182
+ out: np.ndarray, # groupby_t[:, ::1]
183
+ counts: np.ndarray, # int64_t[::1]
184
+ values: np.ndarray, # ndarray[groupby_t, ndim=2]
185
+ labels: np.ndarray, # const int64_t[:]
186
+ min_count: int = ...,
187
+ is_datetimelike: bool = ...,
188
+ mask: np.ndarray | None = ...,
189
+ result_mask: np.ndarray | None = ...,
190
+ skipna: bool = ...,
191
+ ) -> None: ...
192
+ def group_min(
193
+ out: np.ndarray, # groupby_t[:, ::1]
194
+ counts: np.ndarray, # int64_t[::1]
195
+ values: np.ndarray, # ndarray[groupby_t, ndim=2]
196
+ labels: np.ndarray, # const int64_t[:]
197
+ min_count: int = ...,
198
+ is_datetimelike: bool = ...,
199
+ mask: np.ndarray | None = ...,
200
+ result_mask: np.ndarray | None = ...,
201
+ skipna: bool = ...,
202
+ ) -> None: ...
203
+ def group_idxmin_idxmax(
204
+ out: npt.NDArray[np.intp],
205
+ counts: npt.NDArray[np.int64],
206
+ values: np.ndarray, # ndarray[groupby_t, ndim=2]
207
+ labels: npt.NDArray[np.intp],
208
+ min_count: int = ...,
209
+ is_datetimelike: bool = ...,
210
+ mask: np.ndarray | None = ...,
211
+ name: str = ...,
212
+ skipna: bool = ...,
213
+ result_mask: np.ndarray | None = ...,
214
+ ) -> None: ...
215
+ def group_cummin(
216
+ out: np.ndarray, # groupby_t[:, ::1]
217
+ values: np.ndarray, # ndarray[groupby_t, ndim=2]
218
+ labels: np.ndarray, # const int64_t[:]
219
+ ngroups: int,
220
+ is_datetimelike: bool,
221
+ mask: np.ndarray | None = ...,
222
+ result_mask: np.ndarray | None = ...,
223
+ skipna: bool = ...,
224
+ ) -> None: ...
225
+ def group_cummax(
226
+ out: np.ndarray, # groupby_t[:, ::1]
227
+ values: np.ndarray, # ndarray[groupby_t, ndim=2]
228
+ labels: np.ndarray, # const int64_t[:]
229
+ ngroups: int,
230
+ is_datetimelike: bool,
231
+ mask: np.ndarray | None = ...,
232
+ result_mask: np.ndarray | None = ...,
233
+ skipna: bool = ...,
234
+ ) -> None: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashing.cp312-win_amd64.lib ADDED
Binary file (2.01 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashing.cp312-win_amd64.pyd ADDED
Binary file (67.6 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashing.pyi ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+
3
+ from pandas._typing import npt
4
+
5
+ def hash_object_array(
6
+ arr: npt.NDArray[np.object_],
7
+ key: str,
8
+ encoding: str = ...,
9
+ ) -> npt.NDArray[np.uint64]: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashtable.cp312-win_amd64.lib ADDED
Binary file (2.05 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashtable.cp312-win_amd64.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d18a8ef87d21851c9695ebcdfc17ac0204f93ef00ee29e4caa16b849dd6ce22a
3
+ size 1555456
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/hashtable.pyi ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Hashable
2
+ from typing import (
3
+ Any,
4
+ Literal,
5
+ overload,
6
+ )
7
+
8
+ import numpy as np
9
+
10
+ from pandas._typing import npt
11
+
12
+ def unique_label_indices(
13
+ labels: np.ndarray, # const int64_t[:]
14
+ ) -> np.ndarray: ...
15
+
16
+ class Factorizer:
17
+ count: int
18
+ uniques: Any
19
+ def __init__(self, size_hint: int, uses_mask: bool = False) -> None: ...
20
+ def get_count(self) -> int: ...
21
+ def factorize(
22
+ self,
23
+ values: np.ndarray,
24
+ na_sentinel=...,
25
+ na_value=...,
26
+ mask=...,
27
+ ) -> npt.NDArray[np.intp]: ...
28
+ def hash_inner_join(
29
+ self, values: np.ndarray, mask=...
30
+ ) -> tuple[np.ndarray, np.ndarray]: ...
31
+
32
+ class ObjectFactorizer(Factorizer):
33
+ table: PyObjectHashTable
34
+ uniques: ObjectVector
35
+
36
+ class Int64Factorizer(Factorizer):
37
+ table: Int64HashTable
38
+ uniques: Int64Vector
39
+
40
+ class UInt64Factorizer(Factorizer):
41
+ table: UInt64HashTable
42
+ uniques: UInt64Vector
43
+
44
+ class Int32Factorizer(Factorizer):
45
+ table: Int32HashTable
46
+ uniques: Int32Vector
47
+
48
+ class UInt32Factorizer(Factorizer):
49
+ table: UInt32HashTable
50
+ uniques: UInt32Vector
51
+
52
+ class Int16Factorizer(Factorizer):
53
+ table: Int16HashTable
54
+ uniques: Int16Vector
55
+
56
+ class UInt16Factorizer(Factorizer):
57
+ table: UInt16HashTable
58
+ uniques: UInt16Vector
59
+
60
+ class Int8Factorizer(Factorizer):
61
+ table: Int8HashTable
62
+ uniques: Int8Vector
63
+
64
+ class UInt8Factorizer(Factorizer):
65
+ table: UInt8HashTable
66
+ uniques: UInt8Vector
67
+
68
+ class Float64Factorizer(Factorizer):
69
+ table: Float64HashTable
70
+ uniques: Float64Vector
71
+
72
+ class Float32Factorizer(Factorizer):
73
+ table: Float32HashTable
74
+ uniques: Float32Vector
75
+
76
+ class Complex64Factorizer(Factorizer):
77
+ table: Complex64HashTable
78
+ uniques: Complex64Vector
79
+
80
+ class Complex128Factorizer(Factorizer):
81
+ table: Complex128HashTable
82
+ uniques: Complex128Vector
83
+
84
+ class Int64Vector:
85
+ def __init__(self, *args) -> None: ...
86
+ def __len__(self) -> int: ...
87
+ def to_array(self) -> npt.NDArray[np.int64]: ...
88
+
89
+ class Int32Vector:
90
+ def __init__(self, *args) -> None: ...
91
+ def __len__(self) -> int: ...
92
+ def to_array(self) -> npt.NDArray[np.int32]: ...
93
+
94
+ class Int16Vector:
95
+ def __init__(self, *args) -> None: ...
96
+ def __len__(self) -> int: ...
97
+ def to_array(self) -> npt.NDArray[np.int16]: ...
98
+
99
+ class Int8Vector:
100
+ def __init__(self, *args) -> None: ...
101
+ def __len__(self) -> int: ...
102
+ def to_array(self) -> npt.NDArray[np.int8]: ...
103
+
104
+ class UInt64Vector:
105
+ def __init__(self, *args) -> None: ...
106
+ def __len__(self) -> int: ...
107
+ def to_array(self) -> npt.NDArray[np.uint64]: ...
108
+
109
+ class UInt32Vector:
110
+ def __init__(self, *args) -> None: ...
111
+ def __len__(self) -> int: ...
112
+ def to_array(self) -> npt.NDArray[np.uint32]: ...
113
+
114
+ class UInt16Vector:
115
+ def __init__(self, *args) -> None: ...
116
+ def __len__(self) -> int: ...
117
+ def to_array(self) -> npt.NDArray[np.uint16]: ...
118
+
119
+ class UInt8Vector:
120
+ def __init__(self, *args) -> None: ...
121
+ def __len__(self) -> int: ...
122
+ def to_array(self) -> npt.NDArray[np.uint8]: ...
123
+
124
+ class Float64Vector:
125
+ def __init__(self, *args) -> None: ...
126
+ def __len__(self) -> int: ...
127
+ def to_array(self) -> npt.NDArray[np.float64]: ...
128
+
129
+ class Float32Vector:
130
+ def __init__(self, *args) -> None: ...
131
+ def __len__(self) -> int: ...
132
+ def to_array(self) -> npt.NDArray[np.float32]: ...
133
+
134
+ class Complex128Vector:
135
+ def __init__(self, *args) -> None: ...
136
+ def __len__(self) -> int: ...
137
+ def to_array(self) -> npt.NDArray[np.complex128]: ...
138
+
139
+ class Complex64Vector:
140
+ def __init__(self, *args) -> None: ...
141
+ def __len__(self) -> int: ...
142
+ def to_array(self) -> npt.NDArray[np.complex64]: ...
143
+
144
+ class StringVector:
145
+ def __init__(self, *args) -> None: ...
146
+ def __len__(self) -> int: ...
147
+ def to_array(self) -> npt.NDArray[np.object_]: ...
148
+
149
+ class ObjectVector:
150
+ def __init__(self, *args) -> None: ...
151
+ def __len__(self) -> int: ...
152
+ def to_array(self) -> npt.NDArray[np.object_]: ...
153
+
154
+ class HashTable:
155
+ # NB: The base HashTable class does _not_ actually have these methods;
156
+ # we are putting them here for the sake of mypy to avoid
157
+ # reproducing them in each subclass below.
158
+ def __init__(self, size_hint: int = ..., uses_mask: bool = ...) -> None: ...
159
+ def __len__(self) -> int: ...
160
+ def __contains__(self, key: Hashable) -> bool: ...
161
+ def sizeof(self, deep: bool = ...) -> int: ...
162
+ def get_state(self) -> dict[str, int]: ...
163
+ # TODO: `val/key` type is subclass-specific
164
+ def get_item(self, val): ... # TODO: return type?
165
+ def set_item(self, key, val) -> None: ...
166
+ def get_na(self): ... # TODO: return type?
167
+ def set_na(self, val) -> None: ...
168
+ def map_locations(
169
+ self,
170
+ values: np.ndarray, # np.ndarray[subclass-specific]
171
+ mask: npt.NDArray[np.bool_] | None = ...,
172
+ ) -> None: ...
173
+ def lookup(
174
+ self,
175
+ values: np.ndarray, # np.ndarray[subclass-specific]
176
+ mask: npt.NDArray[np.bool_] | None = ...,
177
+ ) -> npt.NDArray[np.intp]: ...
178
+ def get_labels(
179
+ self,
180
+ values: np.ndarray, # np.ndarray[subclass-specific]
181
+ uniques, # SubclassTypeVector
182
+ count_prior: int = ...,
183
+ na_sentinel: int = ...,
184
+ na_value: object = ...,
185
+ mask=...,
186
+ ) -> npt.NDArray[np.intp]: ...
187
+ @overload
188
+ def unique(
189
+ self,
190
+ values: np.ndarray, # np.ndarray[subclass-specific]
191
+ *,
192
+ return_inverse: Literal[False] = ...,
193
+ mask: None = ...,
194
+ ) -> np.ndarray: ... # np.ndarray[subclass-specific]
195
+ @overload
196
+ def unique(
197
+ self,
198
+ values: np.ndarray, # np.ndarray[subclass-specific]
199
+ *,
200
+ return_inverse: Literal[True],
201
+ mask: None = ...,
202
+ ) -> tuple[np.ndarray, npt.NDArray[np.intp]]: ... # np.ndarray[subclass-specific]
203
+ @overload
204
+ def unique(
205
+ self,
206
+ values: np.ndarray, # np.ndarray[subclass-specific]
207
+ *,
208
+ return_inverse: Literal[False] = ...,
209
+ mask: npt.NDArray[np.bool_],
210
+ ) -> tuple[
211
+ np.ndarray,
212
+ npt.NDArray[np.bool_],
213
+ ]: ... # np.ndarray[subclass-specific]
214
+ def factorize(
215
+ self,
216
+ values: np.ndarray, # np.ndarray[subclass-specific]
217
+ na_sentinel: int = ...,
218
+ na_value: object = ...,
219
+ mask=...,
220
+ ignore_na: bool = True,
221
+ ) -> tuple[np.ndarray, npt.NDArray[np.intp]]: ... # np.ndarray[subclass-specific]
222
+ def hash_inner_join(
223
+ self, values: np.ndarray, mask=...
224
+ ) -> tuple[np.ndarray, np.ndarray]: ...
225
+
226
+ class Complex128HashTable(HashTable): ...
227
+ class Complex64HashTable(HashTable): ...
228
+ class Float64HashTable(HashTable): ...
229
+ class Float32HashTable(HashTable): ...
230
+
231
+ class Int64HashTable(HashTable):
232
+ # Only Int64HashTable has get_labels_groupby, map_keys_to_values
233
+ def get_labels_groupby(
234
+ self,
235
+ values: npt.NDArray[np.int64], # const int64_t[:]
236
+ ) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.int64]]: ...
237
+ def map_keys_to_values(
238
+ self,
239
+ keys: npt.NDArray[np.int64],
240
+ values: npt.NDArray[np.int64], # const int64_t[:]
241
+ ) -> None: ...
242
+
243
+ class Int32HashTable(HashTable): ...
244
+ class Int16HashTable(HashTable): ...
245
+ class Int8HashTable(HashTable): ...
246
+ class UInt64HashTable(HashTable): ...
247
+ class UInt32HashTable(HashTable): ...
248
+ class UInt16HashTable(HashTable): ...
249
+ class UInt8HashTable(HashTable): ...
250
+ class StringHashTable(HashTable): ...
251
+ class PyObjectHashTable(HashTable): ...
252
+ class IntpHashTable(HashTable): ...
253
+
254
+ def duplicated(
255
+ values: np.ndarray,
256
+ keep: Literal["last", "first", False] = ...,
257
+ mask: npt.NDArray[np.bool_] | None = ...,
258
+ ) -> npt.NDArray[np.bool_]: ...
259
+ def mode(
260
+ values: np.ndarray, dropna: bool, mask: npt.NDArray[np.bool_] | None = ...
261
+ ) -> np.ndarray: ...
262
+ def value_count(
263
+ values: np.ndarray,
264
+ dropna: bool,
265
+ mask: npt.NDArray[np.bool_] | None = ...,
266
+ ) -> tuple[np.ndarray, npt.NDArray[np.int64], int]: ... # np.ndarray[same-as-values]
267
+
268
+ # arr and values should have same dtype
269
+ def ismember(
270
+ arr: np.ndarray,
271
+ values: np.ndarray,
272
+ ) -> npt.NDArray[np.bool_]: ...
273
+ def object_hash(obj) -> int: ...
274
+ def objects_are_equal(a, b) -> bool: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/index.cp312-win_amd64.lib ADDED
Binary file (1.98 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/index.cp312-win_amd64.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:267cd65cfee3465ba7a41c3c8fa157024e0a5fcc77e1811e3d09ae6d6839f99d
3
+ size 521728
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/index.pyi ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import numpy as np
2
+
3
+ from pandas._typing import npt
4
+
5
+ from pandas import (
6
+ Index,
7
+ MultiIndex,
8
+ )
9
+ from pandas.core.arrays import ExtensionArray
10
+
11
+ multiindex_nulls_shift: int
12
+
13
+ class IndexEngine:
14
+ over_size_threshold: bool
15
+ def __init__(self, values: np.ndarray) -> None: ...
16
+ def __contains__(self, val: object) -> bool: ...
17
+
18
+ # -> int | slice | np.ndarray[bool]
19
+ def get_loc(self, val: object) -> int | slice | np.ndarray: ...
20
+ def sizeof(self, deep: bool = ...) -> int: ...
21
+ def __sizeof__(self) -> int: ...
22
+ @property
23
+ def is_unique(self) -> bool: ...
24
+ @property
25
+ def is_monotonic_increasing(self) -> bool: ...
26
+ @property
27
+ def is_monotonic_decreasing(self) -> bool: ...
28
+ @property
29
+ def is_mapping_populated(self) -> bool: ...
30
+ def clear_mapping(self): ...
31
+ def get_indexer(self, values: np.ndarray) -> npt.NDArray[np.intp]: ...
32
+ def get_indexer_non_unique(
33
+ self,
34
+ targets: np.ndarray,
35
+ ) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]]: ...
36
+
37
+ class MaskedIndexEngine(IndexEngine):
38
+ def __init__(self, values: object) -> None: ...
39
+ def get_indexer_non_unique(
40
+ self, targets: object
41
+ ) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]]: ...
42
+
43
+ class Float64Engine(IndexEngine): ...
44
+ class Float32Engine(IndexEngine): ...
45
+ class Complex128Engine(IndexEngine): ...
46
+ class Complex64Engine(IndexEngine): ...
47
+ class Int64Engine(IndexEngine): ...
48
+ class Int32Engine(IndexEngine): ...
49
+ class Int16Engine(IndexEngine): ...
50
+ class Int8Engine(IndexEngine): ...
51
+ class UInt64Engine(IndexEngine): ...
52
+ class UInt32Engine(IndexEngine): ...
53
+ class UInt16Engine(IndexEngine): ...
54
+ class UInt8Engine(IndexEngine): ...
55
+ class ObjectEngine(IndexEngine): ...
56
+ class StringEngine(IndexEngine): ...
57
+ class DatetimeEngine(Int64Engine): ...
58
+ class TimedeltaEngine(DatetimeEngine): ...
59
+ class PeriodEngine(Int64Engine): ...
60
+ class BoolEngine(UInt8Engine): ...
61
+ class MaskedFloat64Engine(MaskedIndexEngine): ...
62
+ class MaskedFloat32Engine(MaskedIndexEngine): ...
63
+ class MaskedComplex128Engine(MaskedIndexEngine): ...
64
+ class MaskedComplex64Engine(MaskedIndexEngine): ...
65
+ class MaskedInt64Engine(MaskedIndexEngine): ...
66
+ class MaskedInt32Engine(MaskedIndexEngine): ...
67
+ class MaskedInt16Engine(MaskedIndexEngine): ...
68
+ class MaskedInt8Engine(MaskedIndexEngine): ...
69
+ class MaskedUInt64Engine(MaskedIndexEngine): ...
70
+ class MaskedUInt32Engine(MaskedIndexEngine): ...
71
+ class MaskedUInt16Engine(MaskedIndexEngine): ...
72
+ class MaskedUInt8Engine(MaskedIndexEngine): ...
73
+ class MaskedBoolEngine(MaskedUInt8Engine): ...
74
+
75
+ class StringObjectEngine(ObjectEngine):
76
+ def __init__(self, values: object, na_value) -> None: ...
77
+
78
+ class BaseMultiIndexCodesEngine:
79
+ levels: list[np.ndarray]
80
+ offsets: np.ndarray # np.ndarray[..., ndim=1]
81
+
82
+ def __init__(
83
+ self,
84
+ levels: list[Index], # all entries hashable
85
+ labels: list[np.ndarray], # all entries integer-dtyped
86
+ offsets: np.ndarray, # np.ndarray[..., ndim=1]
87
+ ) -> None: ...
88
+ def get_indexer(self, target: npt.NDArray[np.object_]) -> npt.NDArray[np.intp]: ...
89
+ def _extract_level_codes(self, target: MultiIndex) -> np.ndarray: ...
90
+
91
+ class ExtensionEngine:
92
+ def __init__(self, values: ExtensionArray) -> None: ...
93
+ def __contains__(self, val: object) -> bool: ...
94
+ def get_loc(self, val: object) -> int | slice | np.ndarray: ...
95
+ def get_indexer(self, values: np.ndarray) -> npt.NDArray[np.intp]: ...
96
+ def get_indexer_non_unique(
97
+ self,
98
+ targets: np.ndarray,
99
+ ) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]]: ...
100
+ @property
101
+ def is_unique(self) -> bool: ...
102
+ @property
103
+ def is_monotonic_increasing(self) -> bool: ...
104
+ @property
105
+ def is_monotonic_decreasing(self) -> bool: ...
106
+ def sizeof(self, deep: bool = ...) -> int: ...
107
+ def clear_mapping(self): ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/indexing.cp312-win_amd64.lib ADDED
Binary file (2.03 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/indexing.cp312-win_amd64.pyd ADDED
Binary file (47.1 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/indexing.pyi ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import (
2
+ Generic,
3
+ TypeVar,
4
+ )
5
+
6
+ from pandas.core.indexing import IndexingMixin
7
+
8
+ _IndexingMixinT = TypeVar("_IndexingMixinT", bound=IndexingMixin)
9
+
10
+ class NDFrameIndexerBase(Generic[_IndexingMixinT]):
11
+ name: str
12
+ # in practice obj is either a DataFrame or a Series
13
+ obj: _IndexingMixinT
14
+
15
+ def __init__(self, name: str, obj: _IndexingMixinT) -> None: ...
16
+ @property
17
+ def ndim(self) -> int: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/internals.cp312-win_amd64.lib ADDED
Binary file (2.05 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/internals.cp312-win_amd64.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc22dbd9963dfe755f0f488e067293ba796b20242de0d7b128423770746c8548
3
+ size 205312
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/internals.pyi ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import (
2
+ Iterator,
3
+ Sequence,
4
+ )
5
+ from typing import (
6
+ Self,
7
+ final,
8
+ overload,
9
+ )
10
+ import weakref
11
+
12
+ import numpy as np
13
+
14
+ from pandas._typing import (
15
+ ArrayLike,
16
+ npt,
17
+ )
18
+
19
+ from pandas import Index
20
+ from pandas.core.internals.blocks import Block as B
21
+
22
+ def slice_len(slc: slice, objlen: int = ...) -> int: ...
23
+ def get_concat_blkno_indexers(
24
+ blknos_list: list[npt.NDArray[np.intp]],
25
+ ) -> list[tuple[npt.NDArray[np.intp], BlockPlacement]]: ...
26
+ def get_blkno_indexers(
27
+ blknos: np.ndarray, # int64_t[:]
28
+ group: bool = ...,
29
+ ) -> list[tuple[int, slice | np.ndarray]]: ...
30
+ def get_blkno_placements(
31
+ blknos: np.ndarray,
32
+ group: bool = ...,
33
+ ) -> Iterator[tuple[int, BlockPlacement]]: ...
34
+ def update_blklocs_and_blknos(
35
+ blklocs: npt.NDArray[np.intp],
36
+ blknos: npt.NDArray[np.intp],
37
+ loc: int,
38
+ nblocks: int,
39
+ ) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]]: ...
40
+
41
+ @final
42
+ class BlockPlacement:
43
+ def __init__(self, val: int | slice | np.ndarray) -> None: ...
44
+ @property
45
+ def indexer(self) -> np.ndarray | slice: ...
46
+ @property
47
+ def as_array(self) -> np.ndarray: ...
48
+ @property
49
+ def as_slice(self) -> slice: ...
50
+ @property
51
+ def is_slice_like(self) -> bool: ...
52
+ @overload
53
+ def __getitem__(
54
+ self, loc: slice | Sequence[int] | npt.NDArray[np.intp]
55
+ ) -> BlockPlacement: ...
56
+ @overload
57
+ def __getitem__(self, loc: int) -> int: ...
58
+ def __iter__(self) -> Iterator[int]: ...
59
+ def __len__(self) -> int: ...
60
+ def delete(self, loc) -> BlockPlacement: ...
61
+ def increment_above(self, loc: int) -> BlockPlacement: ...
62
+ def add(self, other) -> BlockPlacement: ...
63
+ def append(self, others: list[BlockPlacement]) -> BlockPlacement: ...
64
+ def tile_for_unstack(self, factor: int) -> npt.NDArray[np.intp]: ...
65
+
66
+ class Block:
67
+ _mgr_locs: BlockPlacement
68
+ ndim: int
69
+ values: ArrayLike
70
+ refs: BlockValuesRefs
71
+ def __init__(
72
+ self,
73
+ values: ArrayLike,
74
+ placement: BlockPlacement,
75
+ ndim: int,
76
+ refs: BlockValuesRefs | None = ...,
77
+ ) -> None: ...
78
+ def slice_block_rows(self, slicer: slice) -> Self: ...
79
+
80
+ class BlockManager:
81
+ blocks: tuple[B, ...]
82
+ axes: list[Index]
83
+ _known_consolidated: bool
84
+ _is_consolidated: bool
85
+ _blknos: np.ndarray
86
+ _blklocs: np.ndarray
87
+ def __init__(
88
+ self, blocks: tuple[B, ...], axes: list[Index], verify_integrity=...
89
+ ) -> None: ...
90
+ def get_slice(self, slobj: slice, axis: int = ...) -> Self: ...
91
+ def _rebuild_blknos_and_blklocs(self) -> None: ...
92
+
93
+ class BlockValuesRefs:
94
+ referenced_blocks: list[weakref.ref]
95
+ def __init__(self, blk: Block | None = ...) -> None: ...
96
+ def add_reference(self, blk: Block) -> None: ...
97
+ def add_index_reference(self, index: Index) -> None: ...
98
+ def has_reference(self) -> bool: ...
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/interval.cp312-win_amd64.lib ADDED
Binary file (2.03 kB). View file
 
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/interval.cp312-win_amd64.pyd ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07c37b86a7e3fd135be351d4e91a7011f9c1a6150c43467e9b0bdceedc51bfbe
3
+ size 765952
loan-advisor-agent/.venv/Lib/site-packages/pandas/_libs/interval.pyi ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import (
2
+ Any,
3
+ Generic,
4
+ TypeVar,
5
+ overload,
6
+ )
7
+
8
+ import numpy as np
9
+ import numpy.typing as npt
10
+
11
+ from pandas._typing import (
12
+ IntervalClosedType,
13
+ Timedelta,
14
+ Timestamp,
15
+ )
16
+
17
+ VALID_CLOSED: frozenset[str]
18
+
19
+ _OrderableScalarT = TypeVar("_OrderableScalarT", int, float)
20
+ _OrderableTimesT = TypeVar("_OrderableTimesT", Timestamp, Timedelta)
21
+ _OrderableT = TypeVar("_OrderableT", int, float, Timestamp, Timedelta)
22
+
23
+ class _LengthDescriptor:
24
+ @overload
25
+ def __get__(
26
+ self, instance: Interval[_OrderableScalarT], owner: Any
27
+ ) -> _OrderableScalarT: ...
28
+ @overload
29
+ def __get__(
30
+ self, instance: Interval[_OrderableTimesT], owner: Any
31
+ ) -> Timedelta: ...
32
+
33
+ class _MidDescriptor:
34
+ @overload
35
+ def __get__(self, instance: Interval[_OrderableScalarT], owner: Any) -> float: ...
36
+ @overload
37
+ def __get__(
38
+ self, instance: Interval[_OrderableTimesT], owner: Any
39
+ ) -> _OrderableTimesT: ...
40
+
41
+ class IntervalMixin:
42
+ @property
43
+ def closed_left(self) -> bool: ...
44
+ @property
45
+ def closed_right(self) -> bool: ...
46
+ @property
47
+ def open_left(self) -> bool: ...
48
+ @property
49
+ def open_right(self) -> bool: ...
50
+ @property
51
+ def is_empty(self) -> bool: ...
52
+ def _check_closed_matches(self, other: IntervalMixin, name: str = ...) -> None: ...
53
+
54
+ class Interval(IntervalMixin, Generic[_OrderableT]):
55
+ @property
56
+ def left(self: Interval[_OrderableT]) -> _OrderableT: ...
57
+ @property
58
+ def right(self: Interval[_OrderableT]) -> _OrderableT: ...
59
+ @property
60
+ def closed(self) -> IntervalClosedType: ...
61
+ mid: _MidDescriptor
62
+ length: _LengthDescriptor
63
+ def __init__(
64
+ self,
65
+ left: _OrderableT,
66
+ right: _OrderableT,
67
+ closed: IntervalClosedType = ...,
68
+ ) -> None: ...
69
+ def __hash__(self) -> int: ...
70
+ @overload
71
+ def __contains__(
72
+ self: Interval[Timedelta], key: Timedelta | Interval[Timedelta]
73
+ ) -> bool: ...
74
+ @overload
75
+ def __contains__(
76
+ self: Interval[Timestamp], key: Timestamp | Interval[Timestamp]
77
+ ) -> bool: ...
78
+ @overload
79
+ def __contains__(
80
+ self: Interval[_OrderableScalarT],
81
+ key: _OrderableScalarT | Interval[_OrderableScalarT],
82
+ ) -> bool: ...
83
+ @overload
84
+ def __add__(
85
+ self: Interval[_OrderableTimesT], y: Timedelta
86
+ ) -> Interval[_OrderableTimesT]: ...
87
+ @overload
88
+ def __add__(
89
+ self: Interval[int], y: _OrderableScalarT
90
+ ) -> Interval[_OrderableScalarT]: ...
91
+ @overload
92
+ def __add__(self: Interval[float], y: float) -> Interval[float]: ...
93
+ @overload
94
+ def __radd__(
95
+ self: Interval[_OrderableTimesT], y: Timedelta
96
+ ) -> Interval[_OrderableTimesT]: ...
97
+ @overload
98
+ def __radd__(
99
+ self: Interval[int], y: _OrderableScalarT
100
+ ) -> Interval[_OrderableScalarT]: ...
101
+ @overload
102
+ def __radd__(self: Interval[float], y: float) -> Interval[float]: ...
103
+ @overload
104
+ def __sub__(
105
+ self: Interval[_OrderableTimesT], y: Timedelta
106
+ ) -> Interval[_OrderableTimesT]: ...
107
+ @overload
108
+ def __sub__(
109
+ self: Interval[int], y: _OrderableScalarT
110
+ ) -> Interval[_OrderableScalarT]: ...
111
+ @overload
112
+ def __sub__(self: Interval[float], y: float) -> Interval[float]: ...
113
+ @overload
114
+ def __rsub__(
115
+ self: Interval[_OrderableTimesT], y: Timedelta
116
+ ) -> Interval[_OrderableTimesT]: ...
117
+ @overload
118
+ def __rsub__(
119
+ self: Interval[int], y: _OrderableScalarT
120
+ ) -> Interval[_OrderableScalarT]: ...
121
+ @overload
122
+ def __rsub__(self: Interval[float], y: float) -> Interval[float]: ...
123
+ @overload
124
+ def __mul__(
125
+ self: Interval[int], y: _OrderableScalarT
126
+ ) -> Interval[_OrderableScalarT]: ...
127
+ @overload
128
+ def __mul__(self: Interval[float], y: float) -> Interval[float]: ...
129
+ @overload
130
+ def __rmul__(
131
+ self: Interval[int], y: _OrderableScalarT
132
+ ) -> Interval[_OrderableScalarT]: ...
133
+ @overload
134
+ def __rmul__(self: Interval[float], y: float) -> Interval[float]: ...
135
+ @overload
136
+ def __truediv__(
137
+ self: Interval[int], y: _OrderableScalarT
138
+ ) -> Interval[_OrderableScalarT]: ...
139
+ @overload
140
+ def __truediv__(self: Interval[float], y: float) -> Interval[float]: ...
141
+ @overload
142
+ def __floordiv__(
143
+ self: Interval[int], y: _OrderableScalarT
144
+ ) -> Interval[_OrderableScalarT]: ...
145
+ @overload
146
+ def __floordiv__(self: Interval[float], y: float) -> Interval[float]: ...
147
+ def overlaps(self: Interval[_OrderableT], other: Interval[_OrderableT]) -> bool: ...
148
+
149
+ def intervals_to_interval_bounds(
150
+ intervals: np.ndarray, validate_closed: bool = ...
151
+ ) -> tuple[np.ndarray, np.ndarray, IntervalClosedType]: ...
152
+
153
+ class IntervalTree(IntervalMixin):
154
+ def __init__(
155
+ self,
156
+ left: np.ndarray,
157
+ right: np.ndarray,
158
+ closed: IntervalClosedType = ...,
159
+ leaf_size: int = ...,
160
+ ) -> None: ...
161
+ @property
162
+ def mid(self) -> np.ndarray: ...
163
+ @property
164
+ def length(self) -> np.ndarray: ...
165
+ def get_indexer(self, target) -> npt.NDArray[np.intp]: ...
166
+ def get_indexer_non_unique(
167
+ self, target
168
+ ) -> tuple[npt.NDArray[np.intp], npt.NDArray[np.intp]]: ...
169
+ _na_count: int
170
+ @property
171
+ def is_overlapping(self) -> bool: ...
172
+ @property
173
+ def is_monotonic_increasing(self) -> bool: ...
174
+ def clear_mapping(self) -> None: ...