maxframe 1.0.0rc3__cp37-cp37m-win_amd64.whl → 1.0.0rc4__cp37-cp37m-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of maxframe might be problematic. Click here for more details.

Files changed (57) hide show
  1. maxframe/_utils.cp37-win_amd64.pyd +0 -0
  2. maxframe/codegen.py +1 -0
  3. maxframe/config/config.py +13 -1
  4. maxframe/conftest.py +43 -12
  5. maxframe/core/entity/executable.py +1 -1
  6. maxframe/core/graph/core.cp37-win_amd64.pyd +0 -0
  7. maxframe/dataframe/arithmetic/docstring.py +26 -2
  8. maxframe/dataframe/arithmetic/equal.py +4 -2
  9. maxframe/dataframe/arithmetic/greater.py +4 -2
  10. maxframe/dataframe/arithmetic/greater_equal.py +4 -2
  11. maxframe/dataframe/arithmetic/less.py +2 -2
  12. maxframe/dataframe/arithmetic/less_equal.py +4 -2
  13. maxframe/dataframe/arithmetic/not_equal.py +4 -2
  14. maxframe/dataframe/core.py +2 -0
  15. maxframe/dataframe/datasource/read_odps_query.py +66 -7
  16. maxframe/dataframe/datasource/read_odps_table.py +3 -1
  17. maxframe/dataframe/datasource/tests/test_datasource.py +35 -6
  18. maxframe/dataframe/datastore/to_odps.py +7 -0
  19. maxframe/dataframe/extensions/__init__.py +3 -0
  20. maxframe/dataframe/extensions/flatmap.py +326 -0
  21. maxframe/dataframe/extensions/tests/test_extensions.py +62 -1
  22. maxframe/dataframe/indexing/add_prefix_suffix.py +1 -1
  23. maxframe/dataframe/indexing/rename.py +11 -0
  24. maxframe/dataframe/initializer.py +11 -1
  25. maxframe/dataframe/misc/drop_duplicates.py +18 -1
  26. maxframe/dataframe/tests/test_initializer.py +33 -2
  27. maxframe/io/odpsio/schema.py +5 -3
  28. maxframe/io/odpsio/tableio.py +44 -38
  29. maxframe/io/odpsio/tests/test_schema.py +0 -4
  30. maxframe/io/odpsio/volumeio.py +9 -3
  31. maxframe/learn/contrib/__init__.py +2 -1
  32. maxframe/learn/contrib/graph/__init__.py +15 -0
  33. maxframe/learn/contrib/graph/connected_components.py +215 -0
  34. maxframe/learn/contrib/graph/tests/__init__.py +13 -0
  35. maxframe/learn/contrib/graph/tests/test_connected_components.py +53 -0
  36. maxframe/learn/contrib/xgboost/classifier.py +3 -3
  37. maxframe/learn/contrib/xgboost/predict.py +8 -39
  38. maxframe/learn/contrib/xgboost/train.py +4 -3
  39. maxframe/lib/mmh3.cp37-win_amd64.pyd +0 -0
  40. maxframe/opcodes.py +3 -0
  41. maxframe/protocol.py +6 -1
  42. maxframe/serialization/core.cp37-win_amd64.pyd +0 -0
  43. maxframe/session.py +9 -2
  44. maxframe/tensor/indexing/getitem.py +2 -0
  45. maxframe/tensor/merge/concatenate.py +23 -20
  46. maxframe/tensor/merge/vstack.py +5 -1
  47. maxframe/tensor/misc/transpose.py +1 -1
  48. maxframe/utils.py +34 -12
  49. {maxframe-1.0.0rc3.dist-info → maxframe-1.0.0rc4.dist-info}/METADATA +1 -1
  50. {maxframe-1.0.0rc3.dist-info → maxframe-1.0.0rc4.dist-info}/RECORD +57 -52
  51. maxframe_client/fetcher.py +10 -8
  52. maxframe_client/session/consts.py +3 -0
  53. maxframe_client/session/odps.py +84 -13
  54. maxframe_client/session/task.py +58 -20
  55. maxframe_client/tests/test_session.py +14 -2
  56. {maxframe-1.0.0rc3.dist-info → maxframe-1.0.0rc4.dist-info}/WHEEL +0 -0
  57. {maxframe-1.0.0rc3.dist-info → maxframe-1.0.0rc4.dist-info}/top_level.txt +0 -0
maxframe/opcodes.py CHANGED
@@ -532,6 +532,8 @@ STATSMODELS_TRAIN = 3012
532
532
  STATSMODELS_PREDICT = 3013
533
533
 
534
534
  # learn
535
+ CONNECTED_COMPONENTS = 3100
536
+
535
537
  # checks
536
538
  CHECK_NON_NEGATIVE = 3300
537
539
  # classifier check targets
@@ -566,6 +568,7 @@ CHOLESKY_FUSE = 999988
566
568
 
567
569
  # MaxFrame-dedicated functions
568
570
  DATAFRAME_RESHUFFLE = 10001
571
+ FLATMAP = 10002
569
572
 
570
573
  # MaxFrame internal operators
571
574
  DATAFRAME_PROJECTION_SAME_INDEX_MERGE = 100001
maxframe/protocol.py CHANGED
@@ -375,6 +375,11 @@ class ExecuteDagRequest(Serializable):
375
375
  value_type=FieldTypes.reference,
376
376
  default=None,
377
377
  )
378
+ new_settings: Dict[str, Any] = DictField(
379
+ "new_settings",
380
+ key_type=FieldTypes.string,
381
+ default=None,
382
+ )
378
383
 
379
384
 
380
385
  class SubDagSubmitInstanceInfo(JsonSerializable):
@@ -511,7 +516,7 @@ class DataFrameTableMeta(JsonSerializable):
511
516
  return True
512
517
 
513
518
  def to_json(self) -> dict:
514
- b64_pk = lambda x: base64.b64encode(pickle.dumps(x))
519
+ b64_pk = lambda x: base64.b64encode(pickle.dumps(x)).decode()
515
520
  ret = {
516
521
  "table_name": self.table_name,
517
522
  "type": self.type.value,
maxframe/session.py CHANGED
@@ -150,6 +150,10 @@ class AbstractSession(ABC):
150
150
  def session_id(self):
151
151
  return self._session_id
152
152
 
153
+ @property
154
+ def closed(self) -> bool:
155
+ return self._closed
156
+
153
157
  def __eq__(self, other):
154
158
  return (
155
159
  isinstance(other, AbstractSession)
@@ -1283,9 +1287,12 @@ def get_default_or_create(**kwargs):
1283
1287
  if session is None:
1284
1288
  # no session attached, try to create one
1285
1289
  warnings.warn(warning_msg)
1286
- session = new_session(
1287
- ODPS.from_global() or ODPS.from_environments(), **kwargs
1290
+ odps_entry = (
1291
+ kwargs.pop("odps_entry", None)
1292
+ or ODPS.from_global()
1293
+ or ODPS.from_environments()
1288
1294
  )
1295
+ session = new_session(odps_entry=odps_entry, **kwargs)
1289
1296
  session.as_default()
1290
1297
  if isinstance(session, IsolatedAsyncSession):
1291
1298
  session = SyncSession.from_isolated_session(session)
@@ -130,6 +130,8 @@ def _calc_order(a, index):
130
130
  continue
131
131
  elif isinstance(ind, slice):
132
132
  shape = a.shape[in_axis]
133
+ if shape is np.nan:
134
+ return TensorOrder.C_ORDER
133
135
  slc = ind.indices(shape)
134
136
  if slc[0] == 0 and slc[1] == shape and slc[2] == 1:
135
137
  continue
@@ -26,27 +26,9 @@ class TensorConcatenate(TensorOperator, TensorOperatorMixin):
26
26
  axis = Int32Field("axis", default=0)
27
27
 
28
28
  def __call__(self, tensors):
29
- if len(set(t.ndim for t in tensors)) != 1:
30
- raise ValueError(
31
- "all the input tensors must have same number of dimensions"
32
- )
33
-
34
29
  axis = self.axis
35
- shapes = [t.shape[:axis] + t.shape[axis + 1 :] for t in tensors]
36
- if len(set(shapes)) != 1:
37
- raise ValueError(
38
- "all the input tensor dimensions "
39
- "except for the concatenation axis must match exactly"
40
- )
41
-
42
- shape = [
43
- 0 if i == axis else tensors[0].shape[i] for i in range(tensors[0].ndim)
44
- ]
30
+ shape = _calc_concatenate_shape(tensors, axis)
45
31
  shape[axis] = sum(t.shape[axis] for t in tensors)
46
-
47
- if any(np.isnan(s) for i, s in enumerate(shape) if i != axis):
48
- raise ValueError("cannot concatenate tensor with unknown shape")
49
-
50
32
  return self.new_tensor(tensors, shape=tuple(shape))
51
33
 
52
34
 
@@ -90,9 +72,30 @@ def concatenate(tensors, axis=0):
90
72
  if axis is None:
91
73
  axis = 0
92
74
  tensors = [astensor(t) for t in tensors]
93
-
94
75
  axis = validate_axis(tensors[0].ndim, axis)
76
+
77
+ if len(set(t.ndim for t in tensors)) != 1:
78
+ raise ValueError("all the input tensors must have same number of dimensions")
79
+
80
+ shapes = [t.shape[:axis] + t.shape[axis + 1 :] for t in tensors]
81
+ if len(set(shapes)) != 1:
82
+ raise ValueError(
83
+ "all the input tensor dimensions "
84
+ "except for the concatenation axis must match exactly"
85
+ )
86
+ shape = _calc_concatenate_shape(tensors, axis)
87
+ if any(np.isnan(s) for i, s in enumerate(shape) if i != axis):
88
+ raise ValueError("cannot concatenate tensor with unknown shape")
89
+
90
+ return _concatenate(tensors, axis)
91
+
92
+
93
+ def _concatenate(tensors, axis=0):
95
94
  dtype = np.result_type(*(t.dtype for t in tensors))
96
95
 
97
96
  op = TensorConcatenate(axis=axis, dtype=dtype)
98
97
  return op(tensors)
98
+
99
+
100
+ def _calc_concatenate_shape(tensors, axis):
101
+ return [0 if i == axis else tensors[0].shape[i] for i in range(tensors[0].ndim)]
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
  from ..misc import atleast_2d
17
- from .concatenate import concatenate
17
+ from .concatenate import _concatenate, concatenate
18
18
 
19
19
 
20
20
  def vstack(tup):
@@ -68,3 +68,7 @@ def vstack(tup):
68
68
 
69
69
  """
70
70
  return concatenate([atleast_2d(t) for t in tup], axis=0)
71
+
72
+
73
+ def _vstack(tup):
74
+ return _concatenate([atleast_2d(t) for t in tup], axis=0)
@@ -125,5 +125,5 @@ def transpose(a, axes=None):
125
125
  axes = list(range(a.ndim))[::-1]
126
126
  else:
127
127
  axes = list(axes)
128
- op = TensorTranspose(axes)
128
+ op = TensorTranspose(axes, dtype=a.dtype)
129
129
  return op(a)
maxframe/utils.py CHANGED
@@ -370,13 +370,6 @@ def format_timeout_params(timeout: TimeoutType) -> str:
370
370
  return f"?wait=1&timeout={timeout}"
371
371
 
372
372
 
373
- async def to_thread_pool(func, *args, pool=None, **kwargs):
374
- loop = asyncio.events.get_running_loop()
375
- ctx = contextvars.copy_context()
376
- func_call = functools.partial(ctx.run, func, *args, **kwargs)
377
- return await loop.run_in_executor(pool, func_call)
378
-
379
-
380
373
  _PrimitiveType = TypeVar("_PrimitiveType")
381
374
 
382
375
 
@@ -438,15 +431,22 @@ class ToThreadMixin:
438
431
  thread_name_prefix=f"{type(self).__name__}Pool-{self._counter()}",
439
432
  )
440
433
 
441
- task = asyncio.create_task(
442
- to_thread_pool(func, *args, **kwargs, pool=self._pool)
443
- )
434
+ loop = asyncio.events.get_running_loop()
435
+ ctx = contextvars.copy_context()
436
+ func_call = functools.partial(ctx.run, func, *args, **kwargs)
437
+ fut = loop.run_in_executor(self._pool, func_call)
438
+
444
439
  try:
445
- return await asyncio.wait_for(asyncio.shield(task), timeout)
440
+ coro = fut
441
+ if wait_on_cancel:
442
+ coro = asyncio.shield(coro)
443
+ if timeout is not None:
444
+ coro = asyncio.wait_for(coro, timeout)
445
+ return await coro
446
446
  except (asyncio.CancelledError, asyncio.TimeoutError) as ex:
447
447
  if not wait_on_cancel:
448
448
  raise
449
- result = await task
449
+ result = await fut
450
450
  raise ToThreadCancelledError(*ex.args, result=result)
451
451
 
452
452
  def ensure_async_call(
@@ -1077,3 +1077,25 @@ def collect_leaf_operators(root) -> List[Type]:
1077
1077
 
1078
1078
  _collect(root)
1079
1079
  return result
1080
+
1081
+
1082
+ @contextmanager
1083
+ def sync_pyodps_options():
1084
+ from odps.config import OptionError
1085
+ from odps.config import option_context as pyodps_option_context
1086
+
1087
+ from .config import options
1088
+
1089
+ with pyodps_option_context() as cfg:
1090
+ cfg.local_timezone = options.local_timezone
1091
+ if options.session.enable_schema:
1092
+ try:
1093
+ cfg.enable_schema = options.session.enable_schema
1094
+ except (AttributeError, OptionError):
1095
+ # fixme enable_schema only supported in PyODPS 0.12.0 or later
1096
+ cfg.always_enable_schema = options.session.enable_schema
1097
+ yield
1098
+
1099
+
1100
+ def str_to_bool(s: Optional[str]) -> Optional[bool]:
1101
+ return s.lower().strip() in ("true", "1") if s is not None else None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maxframe
3
- Version: 1.0.0rc3
3
+ Version: 1.0.0rc4
4
4
  Summary: MaxFrame operator-based data analyze framework
5
5
  Requires-Dist: numpy <2.0.0,>=1.19.0
6
6
  Requires-Dist: pandas >=1.0.0
@@ -1,21 +1,21 @@
1
1
  maxframe/__init__.py,sha256=RujkARDvD6mhFpR330UQ0UfogvIdae5EjR1euFpTiYA,1036
2
- maxframe/_utils.cp37-win_amd64.pyd,sha256=-OiqUgyWjQbMovxcwvXz-3CEHV2hoU-YVpakT3Zl4Z8,309248
2
+ maxframe/_utils.cp37-win_amd64.pyd,sha256=h5adFE7uH4rhxiq60k2XAfQ2-Gi9R4UJQpdVlqTeZXw,308736
3
3
  maxframe/_utils.pxd,sha256=_qHN-lCY1FQgDFIrrqA79Ys0SBdonp9kXRMS93xKSYk,1187
4
4
  maxframe/_utils.pyx,sha256=_3p6aJEJ6WZYLcNZ6o4DxoxsxqadTlJXFlgDeFPxqUQ,17564
5
- maxframe/codegen.py,sha256=14zhlXF2O0ET6Om_F5zxiUMuyq-bqpLpwcEl_zeOChY,18190
6
- maxframe/conftest.py,sha256=fx0swj3k0NYVEIn8I8m-as5PK_KkbhtHKmB7lDOswWA,4878
5
+ maxframe/codegen.py,sha256=8CvmD-1elhT9hK5O3jadhq7G-3AVf7Tb1MNOJcGJWVA,18267
6
+ maxframe/conftest.py,sha256=oCHdhSgzITSm-7vee2Icwwhxq3dyyHg__KUkQnesjug,5955
7
7
  maxframe/env.py,sha256=xY4wjMWIJ4qLsFAQ5F-X5CrVR7dDSWiryPXni0YSK5c,1435
8
8
  maxframe/errors.py,sha256=nhQVjRbH5EsyLZhyAufvHpMhfDN6eR8vcrv4sjaI7p8,1000
9
9
  maxframe/extension.py,sha256=XKgK2b42i-jfnLc0lBPiBMsGA6HMQ4a12mJc09tMAFc,2752
10
10
  maxframe/mixin.py,sha256=QfX0KqVIWDlVDSFs0lwdzLexw7lS7W_IUuK7aY1Ib8c,3624
11
- maxframe/opcodes.py,sha256=4Gj2svgrNNxylfUbQYs8WbDqTpoCoLtlNCtAYdHr-BU,10781
12
- maxframe/protocol.py,sha256=1chsSG184gWP4d6GuobNARy5qJRFbQziqSfmBpORa9I,19378
13
- maxframe/session.py,sha256=CfDT2iwjl5NAisPrZ6LF0xG_hr75Wr0cfHd6rvtHajw,37515
11
+ maxframe/opcodes.py,sha256=GERZf2zLTygG3nLQc3MX91vy6tJcAC0t6vf2ymw201o,10829
12
+ maxframe/protocol.py,sha256=TM6jnUsNy634YaI-Ed-alX48ebtGSyFJwM8XvmlGPbg,19526
13
+ maxframe/session.py,sha256=wftB7_3CHU9ljdgS9b-Gz6PNiUToVSScwSG-x3dlu3I,37710
14
14
  maxframe/typing_.py,sha256=EsgH2QO4VF0TRdjshKyL0Tmgiy3Ow8doTwEuam5nStE,1220
15
15
  maxframe/udf.py,sha256=Xrx3wrZCVX6zDggS1QGmHpuJhLgTG9HqLziId_NFnic,4471
16
- maxframe/utils.py,sha256=YzVkoCst-Dj8q1Pp5XVEy__8ejtqViWlEtm2Fe3tFFE,34217
16
+ maxframe/utils.py,sha256=qOplo4pJBaz0vbWNkS2ichMHN4BvACO2TpFpHjzx4YI,34974
17
17
  maxframe/config/__init__.py,sha256=AHo3deaCm1JnbbRX_udboJEDYrYytdvivp9RFxJcumI,671
18
- maxframe/config/config.py,sha256=bH7dW_0xFNm8QTmh2hLba_WpCdetpKkk8ONCu26vNQM,15421
18
+ maxframe/config/config.py,sha256=bGDuHdF95IHPOwP7biUVV0NFRiQn0WIbhjqnKcTCkMQ,15886
19
19
  maxframe/config/validators.py,sha256=vs82UJa4xdY7tvbM7U4vOtXDJHrfdAOTvDkbrFtuGLU,2599
20
20
  maxframe/config/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
21
21
  maxframe/config/tests/test_config.py,sha256=FWQZ6KBUG_jY1-KaR-GKXl7khhlTbuLlk3uaEV8koM8,2839
@@ -25,7 +25,7 @@ maxframe/core/base.py,sha256=43qZ_sJFgW857qhT1jqgsjdAsBy9tzCeqeX62CPm4vM,4691
25
25
  maxframe/core/mode.py,sha256=a-2AjLrIaqemN3pZPFhdfrPYXR7ryCLcsT1KJwWKPb0,3107
26
26
  maxframe/core/entity/__init__.py,sha256=G3cRUyYuSNZ7HS13BLJAj7KBCaAqNSd2wx-MiHU0Hxc,1108
27
27
  maxframe/core/entity/core.py,sha256=aFwjNMhTJ4ybr1WzmMVSTG211fzutzaATs14QoNh-JM,4170
28
- maxframe/core/entity/executable.py,sha256=CKxFGvFPfY_8JBprhpyndhTSLgVLtUG4G5n7Dw0dHnw,11275
28
+ maxframe/core/entity/executable.py,sha256=9TAg3IO0v1GGnuAAubWM0B6M9l3k3cpJkjChlL5928s,11293
29
29
  maxframe/core/entity/objects.py,sha256=-9Yi8pcy-Rk-mYgrrClNUwPgq65b5Ns3L3yOvGKyCX8,3882
30
30
  maxframe/core/entity/output_types.py,sha256=eNjyM_4Z8V5LjEaDz3D6eJ_Ly6JyZy0LfSiHVmfKdyw,2623
31
31
  maxframe/core/entity/tileables.py,sha256=Unv_pZSlqDfXKVpIkPjHcRDueUdKqb55ifQGwkBlhO0,11636
@@ -33,7 +33,7 @@ maxframe/core/entity/utils.py,sha256=454RYVbTMVW_8KnfDqUPec4kz1p98izVTC2OrzhOkao
33
33
  maxframe/core/entity/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
34
34
  maxframe/core/entity/tests/test_objects.py,sha256=8OAMgphXRVri3UewnCYoXfS3lJ_53yxFmR3rv2pWiMY,1392
35
35
  maxframe/core/graph/__init__.py,sha256=IRTkHcVzI57tPXZ3agJJb-atpoD-9Jk4vtcRj3XQXzg,782
36
- maxframe/core/graph/core.cp37-win_amd64.pyd,sha256=Lr9jcmyiSzWZEYa1UfV880hU7z_ZyAqGCWr8D3j7zM8,253440
36
+ maxframe/core/graph/core.cp37-win_amd64.pyd,sha256=2Dy8zTCjMkq3QFQKene38kHecktSPiI3TXIPASpzFgk,253440
37
37
  maxframe/core/graph/core.pyx,sha256=J619C6xfVCF8NQ8oeinhICYSg-w5ecX-dnBI7NB-6n0,16390
38
38
  maxframe/core/graph/entity.py,sha256=7DJtHi7Xum_Yp16caiQd2AMZd34PWDPy7kocjWhgl3o,5010
39
39
  maxframe/core/graph/builder/__init__.py,sha256=fL_blRc623cJ5CQTiFG1d4OK8M97FcFqGbX9chwbUQs,655
@@ -55,8 +55,8 @@ maxframe/core/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLW
55
55
  maxframe/core/tests/test_mode.py,sha256=fyRH-ksa6MogEs6kNhtXhCZyvhYqflgaXJYI3nSo-ps,2507
56
56
  maxframe/dataframe/__init__.py,sha256=FqEhQAdEx5W8-P8mG3Wwzx-gJcScVpcqkaDAp6ejWgU,2323
57
57
  maxframe/dataframe/arrays.py,sha256=rOvhxMQars9E3SOYSu0ygBuuRVY0QV6xzengnMqKs4s,29616
58
- maxframe/dataframe/core.py,sha256=TYdl7KJwaJStivYErdT-57OhFn6S-OzP9SaCIacq7fA,76791
59
- maxframe/dataframe/initializer.py,sha256=WW96yQjquofNFt6RPZvgWW4SBmH0OEDj8-BxpuyKThY,10552
58
+ maxframe/dataframe/core.py,sha256=p4x5QkNGiP0M8flIviFzLiRZ1fmnL55yvpiIzEqRqEA,76844
59
+ maxframe/dataframe/initializer.py,sha256=f_gYxuwrTQL_-0FKMWUnX84jBsuRwv4Z7y-1Vf15ZA0,11150
60
60
  maxframe/dataframe/operators.py,sha256=7u2v-yRl2wcTg8BmIXh-IFrj4TcKoegqf06gm-t0wGQ,7834
61
61
  maxframe/dataframe/utils.py,sha256=sonPqTu6vwXg5lxYFsZg3ZjUsQhTokpdngH_R0-3Kjg,45477
62
62
  maxframe/dataframe/arithmetic/__init__.py,sha256=MPnITPuO7DDjAMTBawpennv6D0V9AnT6oF0nz2KUIqc,12837
@@ -77,26 +77,26 @@ maxframe/dataframe/arithmetic/core.py,sha256=GJWdYOXmKhvessF1c7AiKl_-uHE6SQR-FzN
77
77
  maxframe/dataframe/arithmetic/cos.py,sha256=7eWAEOvO8RePY6Bs3FDoSFtL57fBJdvLJRslx8Or63o,943
78
78
  maxframe/dataframe/arithmetic/cosh.py,sha256=X15rxbk0RymYTTG0ISUvtZCl2T3YIQvx-w3aTtMVjyc,948
79
79
  maxframe/dataframe/arithmetic/degrees.py,sha256=AdkR27ECvXJxNtie2pdiTcSu_mlX5zuhnljO_DL9OzQ,963
80
- maxframe/dataframe/arithmetic/docstring.py,sha256=bgj6BB3g_mRH1WqG2MMD4fRnG8LOxEu4krVVWmZhhRM,11466
81
- maxframe/dataframe/arithmetic/equal.py,sha256=PUlH2Hxmg2PJxSLCFPzec_EDgTX5x4iuxqSaJzziYnk,1519
80
+ maxframe/dataframe/arithmetic/docstring.py,sha256=JRxNuSzu5ZCUCCSN_VH1hNx21S9k6O83BLmY9z-0Rqw,12107
81
+ maxframe/dataframe/arithmetic/equal.py,sha256=f1XNB0hQEgyC0NrjRhqSq6OWEFaz0AdEbSEa5L46g_I,1575
82
82
  maxframe/dataframe/arithmetic/exp.py,sha256=22_EHcKx3d0x880QqPQYY_x8rUqaRhgTqAgvPrSt0PM,943
83
83
  maxframe/dataframe/arithmetic/exp2.py,sha256=3dRamSqFmgnRFVbjP3-8K4MX46uryNuZZwoif4zHsRI,948
84
84
  maxframe/dataframe/arithmetic/expm1.py,sha256=MYVaTA7sDpaYeO9UqG1KBuQVQatOBdggD1Gg2zk1OZw,953
85
85
  maxframe/dataframe/arithmetic/floor.py,sha256=Ojci1eQLgNXVFyqle1oirDFhofHGtFugtLHQgX-oOng,953
86
86
  maxframe/dataframe/arithmetic/floordiv.py,sha256=gxiOirTCJVJQRdsGVMRrJ9oQS6MbdRf-Az8BhcY4pRg,1891
87
- maxframe/dataframe/arithmetic/greater.py,sha256=Hz8mmWhvaKiLKuFWaquiUf35RZwcGLkkswm0HRtE0dk,1550
88
- maxframe/dataframe/arithmetic/greater_equal.py,sha256=LGnvOB12887Y3ubMqh35BYEnRhvnpQY0DeUH3d1TgH0,1575
87
+ maxframe/dataframe/arithmetic/greater.py,sha256=jvg8ax5ejg6VYgmHmIJ55XX_EmevIxBn1l86-5b0hYI,1606
88
+ maxframe/dataframe/arithmetic/greater_equal.py,sha256=1krtzKHcihI9pHi_s5q2TYvcM-dzcCcMvQTesnCpYuU,1631
89
89
  maxframe/dataframe/arithmetic/invert.py,sha256=RZrB4_t9vaoopPaAIynllhv58zNpQpa8KzaBm5972XU,1018
90
90
  maxframe/dataframe/arithmetic/is_ufuncs.py,sha256=grYk2-AL6x4REVkGDPm2J3iHpKdIzIDNFoaTQWLlk3U,1798
91
- maxframe/dataframe/arithmetic/less.py,sha256=UVtcQr0U5gjWXcdOt1F1NhOA5AdQ7uF8JBKhP6-wXYI,1535
92
- maxframe/dataframe/arithmetic/less_equal.py,sha256=Q5pU7XsQhCPlNJ6mC6Qlrkw05fqwtiZq82rL6zpI_tg,1560
91
+ maxframe/dataframe/arithmetic/less.py,sha256=3PXxUpy11Ou_fl6fuXLMJyxiZlyE_zJCoappk4lMTN8,1575
92
+ maxframe/dataframe/arithmetic/less_equal.py,sha256=pLK78jjNPOrmoOLULTAxKIJXNUp0_HC0csiQ0sGnvWs,1616
93
93
  maxframe/dataframe/arithmetic/log.py,sha256=4aJL3Ie5hjoB5OeW61-uUpYuXY8q_OGIYsBTHFOj-xU,943
94
94
  maxframe/dataframe/arithmetic/log10.py,sha256=qSrf78LGNTbve93PgMwBQCHrwb_pXTxPnwWj5hGZHc8,953
95
95
  maxframe/dataframe/arithmetic/log2.py,sha256=6vlRaylM_P5Lb10bzcyQqeaK0W9jMa2qKc-r46kt99E,948
96
96
  maxframe/dataframe/arithmetic/mod.py,sha256=5mH0nm3xb7-xqhtoC8JE8T0cJN_HUtz-SKqMPw22vKE,1762
97
97
  maxframe/dataframe/arithmetic/multiply.py,sha256=Qen_WyhbAkKHhyzy_6SZ27g9Q0tQObcWs-jLy6Cz1kY,1793
98
98
  maxframe/dataframe/arithmetic/negative.py,sha256=yKEeHZIVAGVI-5T6ghkAsp9tlmO2zuyZ8VCwm481NP8,1040
99
- maxframe/dataframe/arithmetic/not_equal.py,sha256=I8YKM7R9zdbaC0yYaJ-grBSy4stMehuuNzt_7Lo5XpE,1535
99
+ maxframe/dataframe/arithmetic/not_equal.py,sha256=mDXvV0I-mzcuDag5OLzXhSmcuj4JXzU6NVy7yVLSpSM,1591
100
100
  maxframe/dataframe/arithmetic/power.py,sha256=4SnDtDhYd6t19v2w6vdq0aCYhvdaahyuOsfzZVACCQ4,1879
101
101
  maxframe/dataframe/arithmetic/radians.py,sha256=xuKMlEGZspnraj6nh4GV4bP1NsRiDjtoZJ7Cz44lQhY,963
102
102
  maxframe/dataframe/arithmetic/sin.py,sha256=13wADLxfMNecSTOHSEyMFpwPsFM0Rt78DpM9FAs32ZA,943
@@ -118,23 +118,24 @@ maxframe/dataframe/datasource/from_records.py,sha256=ygpKOMXZnDdWzGxMxQ4KdGv-tJF
118
118
  maxframe/dataframe/datasource/from_tensor.py,sha256=mShHYi0fZcG7ZShFVgIezaphh8tSFqR9-nQMm5YKIhw,15146
119
119
  maxframe/dataframe/datasource/index.py,sha256=X_NShW67nYJGxaWp3qOrvyInNkz9L-XHjbApU4fHoes,4518
120
120
  maxframe/dataframe/datasource/read_csv.py,sha256=IvQihmpcZIdzSD7ziX92aTAHNyP5WnTgd2cZz_h43sQ,24668
121
- maxframe/dataframe/datasource/read_odps_query.py,sha256=WpcYcNtncgVs3ACKF7M2-VGXzxLx1CGw4ZaAzglijb0,10525
122
- maxframe/dataframe/datasource/read_odps_table.py,sha256=Uvld7GlDh9eofQOKlo3bNx8MnFYW7TnXM6zYMMgs8hs,9482
121
+ maxframe/dataframe/datasource/read_odps_query.py,sha256=V4OT4yKmlk2hdXbxFdaDdRnHRnXeeMiZrqUZSlPGIY8,12699
122
+ maxframe/dataframe/datasource/read_odps_table.py,sha256=9cMQZ3pdJbL54xHJE2o884iTrwv6VDRkjfehdOa6SOI,9594
123
123
  maxframe/dataframe/datasource/read_parquet.py,sha256=SZPrWoax2mwMBNvRk_3lkS72pZLe-_X_GwQ1JROBMs4,14952
124
124
  maxframe/dataframe/datasource/series.py,sha256=elQVupKETh-hUHI2fTu8TRxBE729Vyrmpjx17XlRV-8,1964
125
125
  maxframe/dataframe/datasource/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
126
- maxframe/dataframe/datasource/tests/test_datasource.py,sha256=1RbSSg2WBs3d4E1m-kk70-begcdQuBcJ2RiZzBu3kn0,15488
126
+ maxframe/dataframe/datasource/tests/test_datasource.py,sha256=91Vml3MmtiASE9KqjU5FIC4XpHj2t3EqcdLoEdtuvNA,16485
127
127
  maxframe/dataframe/datastore/__init__.py,sha256=MmlHYvFacMReOHDQMXF-z2bCsLyrSHYBVwIlCsZGOK4,810
128
128
  maxframe/dataframe/datastore/core.py,sha256=HCqrZN47RP-IC6zDqLX_RErDUAWkcTB58FHNU70V2b4,762
129
129
  maxframe/dataframe/datastore/to_csv.py,sha256=sns4bBgNpq7Ihb-goNqaBRdiEtrG-V6jqhNkWGZ1YaE,7974
130
- maxframe/dataframe/datastore/to_odps.py,sha256=25D7h8QphJIb3PHSqTmrBJ8S01VBbccaEbj_pLsRbG4,6599
130
+ maxframe/dataframe/datastore/to_odps.py,sha256=HzIAYRRLJBtsUCHD3vcfXWBE4jAEsCzrGt3Nx34B-d8,6912
131
131
  maxframe/dataframe/datastore/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
132
132
  maxframe/dataframe/datastore/tests/test_to_odps.py,sha256=385SCJK_XkddV9dJrRqSOuaXurpGjWd_QwRSeGTOTNU,1344
133
- maxframe/dataframe/extensions/__init__.py,sha256=x6QCVQIfpa8JP2Vu-nZwHJ1CzATnyPoKCBMqxjXwpO0,1439
133
+ maxframe/dataframe/extensions/__init__.py,sha256=sHoXEEzfa6yB5-feY0EmcWWdwKtoDf0be3GVzgiuSUo,1617
134
134
  maxframe/dataframe/extensions/accessor.py,sha256=0OA8YPL3rofSvdU0z_1kMLImahrvow_vhxdQDYODki0,1497
135
+ maxframe/dataframe/extensions/flatmap.py,sha256=drmtjzftFB_tnbj9aRDkuh2VXFquJTeDbIWqtU4Ymt4,10864
135
136
  maxframe/dataframe/extensions/reshuffle.py,sha256=yOlJ-3R4v9CoiEKFA1zgCOvbocy00MxpFBbQuTn-uDw,2720
136
137
  maxframe/dataframe/extensions/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
137
- maxframe/dataframe/extensions/tests/test_extensions.py,sha256=oDnVwQx-o8p4wmen8ZS3gnudOAihFAdNKQhSCqNNXzQ,1324
138
+ maxframe/dataframe/extensions/tests/test_extensions.py,sha256=K7CyT17eH8vy2MkZgjKiSRUnr6pyQ7NcsqmSIBLSclM,3110
138
139
  maxframe/dataframe/fetch/__init__.py,sha256=W1arTCAjD0v_bdVeIzpJMnil3h0Ucsn29zFWmgZcYck,668
139
140
  maxframe/dataframe/fetch/core.py,sha256=27VANjpMm2rdCg1KPZxWZrKWNuNgSMzZrordI05mqWc,3424
140
141
  maxframe/dataframe/groupby/__init__.py,sha256=wMjmvk4ced1uCm7bw0oodIKvaep61KhupriL9JRRq5w,3443
@@ -150,7 +151,7 @@ maxframe/dataframe/groupby/transform.py,sha256=1Gn4uOydtRMwFo-CUXrSTyOwlbuJyeWNI
150
151
  maxframe/dataframe/groupby/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
151
152
  maxframe/dataframe/groupby/tests/test_groupby.py,sha256=oidpLtSA3fhZldVRQ5-3PnfXKnyclqR-ApiNgzh-yzk,12740
152
153
  maxframe/dataframe/indexing/__init__.py,sha256=AkjowbPJu6kM4fJF5baU6g6FA7n2ux5__f4_2budLSs,3297
153
- maxframe/dataframe/indexing/add_prefix_suffix.py,sha256=YT8sIKWWy_t0dkuzvTlWM4n9Ni9m2TeCvADrhS5xX6E,3080
154
+ maxframe/dataframe/indexing/add_prefix_suffix.py,sha256=YMHFXnVcFsRJfVIOHlTWkOGCqzxWAJam3SXmIRjKGKk,3076
154
155
  maxframe/dataframe/indexing/align.py,sha256=-kV91o_-pq7rFsv0zgnGZuEyn8HqyUK_Ejv4VWF5fps,12434
155
156
  maxframe/dataframe/indexing/at.py,sha256=7Igb4I9_9drZSCZITFRNL3Q-7EI_mtfklUrnNP0apHo,2300
156
157
  maxframe/dataframe/indexing/getitem.py,sha256=eS8dnlMEP2zaYvzYZFlBNfwjD89UqT0MRIlNuDcAJQc,7958
@@ -159,7 +160,7 @@ maxframe/dataframe/indexing/iloc.py,sha256=O4lCMV2Q0GtSM3_FbKY6rl_1WUGcae-H2wHvC
159
160
  maxframe/dataframe/indexing/insert.py,sha256=bvKdAswI688hOIaL9EvU7LnbjpELUdv5QS7rogSn_5U,2997
160
161
  maxframe/dataframe/indexing/loc.py,sha256=senwgO_ijLJtbzaeqS_CMefV8nlf3guEQXKdSQcwYy0,15256
161
162
  maxframe/dataframe/indexing/reindex.py,sha256=v4Rd85aNfh3onzcFqOhdUjiLrDv9QuNtGh-OaWpnG-4,19699
162
- maxframe/dataframe/indexing/rename.py,sha256=ZNmURKN4DjMc9jsH8l8uyTXuu4QRFIqMT3TH0bD0oQM,12891
163
+ maxframe/dataframe/indexing/rename.py,sha256=eXPW-a16JWhSUheN_KE3kqV3W4CMBqEoVHCyJauHaa4,13331
163
164
  maxframe/dataframe/indexing/rename_axis.py,sha256=ugKcve4Kp8EuSmokQFUL-mVhGQ1cd6IDZ3UauHPiFeQ,6511
164
165
  maxframe/dataframe/indexing/reset_index.py,sha256=_NFQZTjHzc_IgiqC-aqFJUfjneyJUN42-ujxGPfBVnQ,13524
165
166
  maxframe/dataframe/indexing/sample.py,sha256=XrgzEugAL_WXJc_OkrWAugXUOIaqg3_OwWBp-hMee9U,8391
@@ -187,7 +188,7 @@ maxframe/dataframe/misc/datetimes.py,sha256=zR99O-8EKKWt4UtNdPI22K8N9mP9XSs9lDQL
187
188
  maxframe/dataframe/misc/describe.py,sha256=PaddhvhKVZDkG6WuWGWi3LL7Vg8uny_3WzlVbdKZseQ,4478
188
189
  maxframe/dataframe/misc/diff.py,sha256=j6C0PNb4eufB7ZU-mAXNNIC8y1wzHd6MHS-IWTz606E,5701
189
190
  maxframe/dataframe/misc/drop.py,sha256=UDP1EWpHPa0tkpjvNPIcstAiWoMainCMcvV7wefH7RA,13469
190
- maxframe/dataframe/misc/drop_duplicates.py,sha256=1Ax1QXghtk3bNZnvBaVDr4OMpR33WM_NU0dgZBYZMgc,8078
191
+ maxframe/dataframe/misc/drop_duplicates.py,sha256=z_2TXufnZ1MYyetGckKRthRsmYuTCqVYu6QhA_j_Sro,8619
191
192
  maxframe/dataframe/misc/duplicated.py,sha256=w5aXwtDn5_ZbvnB0oCOoTE7EJQ6cdSnhTjL8SMci0Tw,8826
192
193
  maxframe/dataframe/misc/eval.py,sha256=3UuqaMW0Pe6CRh82XtKiNNuWeJOyz_hzhzRZ2zqpBLQ,25091
193
194
  maxframe/dataframe/misc/explode.py,sha256=aWQObjpxgPCCm87Lc1cavqotETz6xVLm8HSsPhM3n5k,5182
@@ -259,7 +260,7 @@ maxframe/dataframe/statistics/quantile.py,sha256=v_Ff05C8eE9Suq3k_G_KWMHcfGvduS0
259
260
  maxframe/dataframe/statistics/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
260
261
  maxframe/dataframe/statistics/tests/test_statistics.py,sha256=tvk_kTcOuzRLFspidSPVoZrBVtVsbHhGb16LU-Vr3lU,2812
261
262
  maxframe/dataframe/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
262
- maxframe/dataframe/tests/test_initializer.py,sha256=DbetC_kgMTzaNiegGDfh2F_FE3aXKiK3fOMwAQXiSH8,1085
263
+ maxframe/dataframe/tests/test_initializer.py,sha256=qvlKFDcS9jvuT-l2_v64VcAGWTYoPIpP72HQo8bMf3E,2060
263
264
  maxframe/dataframe/tseries/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
264
265
  maxframe/dataframe/tseries/to_datetime.py,sha256=PAtSgFLpes87BwC9zdyj-caJEIeqMFREwyTMWZ9pJEI,11625
265
266
  maxframe/dataframe/tseries/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
@@ -285,30 +286,34 @@ maxframe/io/objects/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK
285
286
  maxframe/io/objects/tests/test_object_io.py,sha256=ElYAUf7jJtUMciZzzuEjPajSNEeqkMuWReHDDklo5Es,3189
286
287
  maxframe/io/odpsio/__init__.py,sha256=xJbh1eHNI0D3xJG22VM3AHwwiwMIPldtGEJjildPsxc,925
287
288
  maxframe/io/odpsio/arrow.py,sha256=yBdrld-Bh1eyLY_vcj6E0oA2WS9jiKlL93PNJASN7kk,4021
288
- maxframe/io/odpsio/schema.py,sha256=dCXDzv4Uc2Msw1UhJyhvpsFMDSOecJNiRVsiN8VrSMk,12685
289
- maxframe/io/odpsio/tableio.py,sha256=n2kepr8y-CeDyqVTzUPRJwrDdnaCOpwR9pBJ2A8IHX4,24819
290
- maxframe/io/odpsio/volumeio.py,sha256=DmHWsbxgW_dja5YF17pXZvvzvSxTrbxxxCQejvtlDcs,2112
289
+ maxframe/io/odpsio/schema.py,sha256=SXZe8vc-YIJ92hIuYyCgyvqyZyiBN-58xFeCfKfcq0s,12768
290
+ maxframe/io/odpsio/tableio.py,sha256=OkYlZ13CTM8nrsIO9seR9oINWMNr4f-Wr9PlQ0qfPnk,25161
291
+ maxframe/io/odpsio/volumeio.py,sha256=yiZytTg3adJuYGwnwmAfMDshtomGd4cxqsyzCc40FhU,2230
291
292
  maxframe/io/odpsio/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
292
293
  maxframe/io/odpsio/tests/test_arrow.py,sha256=yeDWFzsm2IMS-k6jimlQ7uim5T6WW1Anuy8didaf4cs,3194
293
- maxframe/io/odpsio/tests/test_schema.py,sha256=Yv25EWTDAtNcxV1FTp5D1RH8M3uKDfokOEDMsVAgfaQ,12266
294
+ maxframe/io/odpsio/tests/test_schema.py,sha256=7zJv8ndaAaCgyHzRzHW-JhzsVSQpxP1vQ-5mRTwNyEY,12109
294
295
  maxframe/io/odpsio/tests/test_tableio.py,sha256=XPgbCJj_hxscynqYO4L3_g67LckYLJznqzcJyRLCm_M,5769
295
296
  maxframe/io/odpsio/tests/test_volumeio.py,sha256=gZga0IWoEkpu6DL3qpemPzo_zHxou-F-nj0g2zeUGa4,2956
296
297
  maxframe/learn/__init__.py,sha256=1QzrFCJmdZFy0Nh1Ng3V6yY_NVvoSUdTIqcU-HIa1wk,649
297
298
  maxframe/learn/core.py,sha256=jQVOXTFond0ia9IdvObCV5MBpIgjPuxFSzyeg5AB11A,782
298
- maxframe/learn/contrib/__init__.py,sha256=2_AumQELt_0MMsSDS7nwk4Fy0TE807lasVuFvGEv1Lc,649
299
+ maxframe/learn/contrib/__init__.py,sha256=sSf3fsDgTSUi7tNvxxuhkk-fTga1Bt3jrpIS36kzMIQ,667
299
300
  maxframe/learn/contrib/utils.py,sha256=e4E-QLr7SAhCBTUX246SBpi9DtRNQAE-xOUxvNnFzZY,1714
301
+ maxframe/learn/contrib/graph/__init__.py,sha256=Hy6k8OzCgLRiLPgSElIj4O4r_mttA9AvhpmXPofmvFo,667
302
+ maxframe/learn/contrib/graph/connected_components.py,sha256=KJXeRsxWBP4piViSOhST3M4OO81jCf73acMRg9NA1no,7367
303
+ maxframe/learn/contrib/graph/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
304
+ maxframe/learn/contrib/graph/tests/test_connected_components.py,sha256=HLBJ6m7V8KHkOjsUhjePdUbnvykVGpgdiegvGpyLBpM,1662
300
305
  maxframe/learn/contrib/pytorch/__init__.py,sha256=a60NZy-COXEFgyC0uXJRBZGi-Vd9HZcqX62bKAMPKaM,703
301
306
  maxframe/learn/contrib/pytorch/run_function.py,sha256=aQQhy2Bc6EEe-NVZb17hK4I9_TqIM1uI3fIMihY3TSQ,3354
302
307
  maxframe/learn/contrib/pytorch/run_script.py,sha256=FOBXdJ9Q5QOirGGXq8_XwpwrTpDEmWt45-9n4VR_ixI,3213
303
308
  maxframe/learn/contrib/pytorch/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
304
309
  maxframe/learn/contrib/pytorch/tests/test_pytorch.py,sha256=GHP-oD5uMU8LD90Jt2cHbYRDdM5efjzsjpeBkc3t_qE,1444
305
310
  maxframe/learn/contrib/xgboost/__init__.py,sha256=vk9xZO_FUwyVCrcLP1dbEz6JCZQBEHsmhGr1uQ45FAI,925
306
- maxframe/learn/contrib/xgboost/classifier.py,sha256=6Uk1LOCRSn0LhR9TIGjjlQq8R5AfszO50IeawaYnks4,3960
311
+ maxframe/learn/contrib/xgboost/classifier.py,sha256=iJtEryJbi06gOeWzy9tguhDUGjD2LquUHtCjgaGXW24,3996
307
312
  maxframe/learn/contrib/xgboost/core.py,sha256=p6SXqBzWjY5VzqkqOoMu-O9TBcQ3UHlddcsbEoTBXaE,8276
308
313
  maxframe/learn/contrib/xgboost/dmatrix.py,sha256=acXkK8Ab6vT1DVb3ZtpeUdzNfVbOtrsCSdXrluQGN70,4889
309
- maxframe/learn/contrib/xgboost/predict.py,sha256=OceLqSJ8fHtcmBCKZMpTTcsM9Ide8eTvo6H3ppewTrM,5031
314
+ maxframe/learn/contrib/xgboost/predict.py,sha256=aRtTMF1OODvrh9kQnDJK0mx0bLTZEVKB1O-nt6eVZ6M,3877
310
315
  maxframe/learn/contrib/xgboost/regressor.py,sha256=0_GNVJFfkYmXJtG1eIUrwLOtr6HNNfkjKoBymLvd388,2384
311
- maxframe/learn/contrib/xgboost/train.py,sha256=4xEWY-5MejfZTNKh6XHYyV6SQ2jeEJKBANcA4EGrTJM,4600
316
+ maxframe/learn/contrib/xgboost/train.py,sha256=Mp0t7kyNGYgn6uKJf9Nesof5VuoUe6mg7g1sFpFZwfY,4660
312
317
  maxframe/learn/contrib/xgboost/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
313
318
  maxframe/learn/contrib/xgboost/tests/test_core.py,sha256=qNSXaB1t1vpoCD6RfpnFjJZHS8ShW9O_uz0ucXXlfpE,1449
314
319
  maxframe/learn/utils/__init__.py,sha256=w2_QpDZ9J5BcSgbqu8P2RlkVRWC2gLowfgsaDPtz_Pg,661
@@ -316,7 +321,7 @@ maxframe/learn/utils/core.py,sha256=WNDISxPFsWmjkwHwEvjVGCkAOkIftqzEQFPA_KWr7FY,
316
321
  maxframe/lib/__init__.py,sha256=_PB28W40qku6YiT8fJYqdmEdRMQfelOwGeksCOZJfCc,657
317
322
  maxframe/lib/compression.py,sha256=QQpNK79iUC9zck74I0HKMhapSRnLBXtTRyS91taEVIc,1497
318
323
  maxframe/lib/functools_compat.py,sha256=2LTrkSw5i-z5E9XCtZzfg9-0vPrYxicKvDjnnNrAL1Q,2697
319
- maxframe/lib/mmh3.cp37-win_amd64.pyd,sha256=xERPEn0x7--ng3laZdIm3XX-MkX-XjTRccDyP7Br5v8,17920
324
+ maxframe/lib/mmh3.cp37-win_amd64.pyd,sha256=TfDfe9bAaDf1qPJ6k0HYkksvSGbkJI4d8acALStlXno,17920
320
325
  maxframe/lib/mmh3.pyi,sha256=pkzO6SUUukCty3X-WFsuokWBtIPWyxEa06ypF9liruI,1537
321
326
  maxframe/lib/version.py,sha256=VOVZu3KHS53YUsb_vQsT7AyHwcCWAgc-3bBqV5ANcbQ,18941
322
327
  maxframe/lib/wrapped_pickle.py,sha256=Akx-qhMMJJ6VVzQYrcVO_umFjx0IR-Yzb1XqyOS1Mio,3976
@@ -370,7 +375,7 @@ maxframe/remote/core.py,sha256=ELCUvg-_ZdTax_exFqm6-XWUXukT5qalKYBeDB-mV0k,6733
370
375
  maxframe/remote/run_script.py,sha256=k93-vaFLUanWoBRai4-78DX_SLeZ8_rbbxcCtOIXZO8,3677
371
376
  maxframe/serialization/__init__.py,sha256=UmDfKNohvk3StL-87QYmQTcQ2g6dRHSk49VFQS73VB0,963
372
377
  maxframe/serialization/arrow.py,sha256=OMeDjLcPgagqzokG7g3Vhwm6Xw1j-Kph1V2QsIwi6dw,3513
373
- maxframe/serialization/core.cp37-win_amd64.pyd,sha256=bHYRomRIWiW6-gDNa2sE5ocJsK_jjRhE7Q2irOthQv0,408576
378
+ maxframe/serialization/core.cp37-win_amd64.pyd,sha256=08_4xz9PKc3_AY7l1oGx_OaDc03q5H18sFAc0fDb6xA,408576
374
379
  maxframe/serialization/core.pxd,sha256=KioRiFhr5DTuqXnS2imJ3djWfSv2IAmhnz-kAFPgU6A,1548
375
380
  maxframe/serialization/core.pyi,sha256=ELDG44v8O7A7RfURExMfVEJENuaEYHTwgJ-vzlH2Vh4,2206
376
381
  maxframe/serialization/core.pyx,sha256=4iyUotIVV8CkVhHo3RyotDP1E7M2C1KMb0_40Ex_h1c,36321
@@ -517,7 +522,7 @@ maxframe/tensor/indexing/core.py,sha256=85E1kSDogs7p57vE1O-ZYx4XhpEE21tmt1-mOey5
517
522
  maxframe/tensor/indexing/extract.py,sha256=KHqEVMKwxIlm2RYVSVhZX5Jo7yymKTIgzNT6y8Ilodc,2139
518
523
  maxframe/tensor/indexing/fill_diagonal.py,sha256=V3_kMu5Cvund5a4GYTG5617ryNu0cHjWp3FfAU_d3yY,5488
519
524
  maxframe/tensor/indexing/flatnonzero.py,sha256=v0Od1T6pn6vfoDeEG40lJ7h4OD8cPIlzDTDHMcR50IA,1766
520
- maxframe/tensor/indexing/getitem.py,sha256=5n-5ExnuVrO5WG1ikD5VwP_Mlj5NAD7X-tVQDoAmims,5723
525
+ maxframe/tensor/indexing/getitem.py,sha256=v_NyhKc78Cj0YZZQ12XDS4l4rXVavLV1brqcAXNjUPM,5800
521
526
  maxframe/tensor/indexing/nonzero.py,sha256=qeTEj7oiqf2CYBDlL1aKG19lPPFXvHkMq0A-4Dmvz4A,3766
522
527
  maxframe/tensor/indexing/setitem.py,sha256=u7YbeJQmWnhu13H8k5ohw89YQRcPnY-9Ni0zJxzfJJo,4484
523
528
  maxframe/tensor/indexing/slice.py,sha256=J49_6hcI0Z1MFfgtKFrnhraTJAs6cLcvMV-63pGHKLQ,1051
@@ -526,9 +531,9 @@ maxframe/tensor/indexing/unravel_index.py,sha256=FMmoEYrDHZAtx_HHC21W3KZfkqwxNZU
526
531
  maxframe/tensor/indexing/tests/__init__.py,sha256=_PB28W40qku6YiT8fJYqdmEdRMQfelOwGeksCOZJfCc,657
527
532
  maxframe/tensor/indexing/tests/test_indexing.py,sha256=uatTFiNkYnyqibYa2-NleUWyFRnlK0mN1AG0tBqFCts,6886
528
533
  maxframe/tensor/merge/__init__.py,sha256=mzXzvbNObPYmvWY3PCu3yFvV82Tqqaxav5DX_Iv2UN8,703
529
- maxframe/tensor/merge/concatenate.py,sha256=pRANmkj47t85vND5F0ObmfqqMy-qXS5FuBXSN8HRDmI,3182
534
+ maxframe/tensor/merge/concatenate.py,sha256=RRyP-fqUGfMeP3Zo2wgfZcnF-u8dCCIOpr_0jI5Fft8,3314
530
535
  maxframe/tensor/merge/stack.py,sha256=lZJs8M1JYBdYXnalj6-6ltdJKKslZ1Z-ydkzvGlzzkY,4277
531
- maxframe/tensor/merge/vstack.py,sha256=BS6bG5h0swmTW26rvg7FvJw3fX1wh7nCAWao53vetXo,2238
536
+ maxframe/tensor/merge/vstack.py,sha256=RDlTE2A51b1ku7ep1J0p-bq8EQHUkiXLa0rVHNWOLBI,2338
532
537
  maxframe/tensor/merge/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
533
538
  maxframe/tensor/merge/tests/test_merge.py,sha256=tI4xeJPpME68buemIzTga9mTQiMoqFc9v4__Hi40kzg,2291
534
539
  maxframe/tensor/misc/__init__.py,sha256=C6VvY-dnO0_8Z1ArbzhT0I0ClFNT2LGfSgPJdICUexo,1185
@@ -538,7 +543,7 @@ maxframe/tensor/misc/atleast_2d.py,sha256=9F5m9DyDJ63nPFhrCqTTHszz36pgU0_VM6nJLm
538
543
  maxframe/tensor/misc/atleast_3d.py,sha256=XkpSZ_haJJz0wanww5HB4Xhhx3QK8xtbleWvC7ARkBE,2477
539
544
  maxframe/tensor/misc/broadcast_to.py,sha256=V-OB8YSbMfkMP2JpbiIQ0A9PrC-OHfaWzrntf5AOEwo,2775
540
545
  maxframe/tensor/misc/ravel.py,sha256=P9SCDU-UUHzd1HqZbodBSgKjtjiOFkyfLV_G9LFnz_U,3265
541
- maxframe/tensor/misc/transpose.py,sha256=ALP4B3FdXL_-iPV-zyG5FuM13jPVcu_mvIaNmh_mQDQ,4134
546
+ maxframe/tensor/misc/transpose.py,sha256=e_VAfFPAmde8mzJTovSPWx53vUlgnYtYbEa4bYZst_4,4149
542
547
  maxframe/tensor/misc/unique.py,sha256=wweWA7Qg-MwRsJwXQc_-4BuDAYBQkRgVw-B38z6hNTQ,6926
543
548
  maxframe/tensor/misc/where.py,sha256=cSg1mDhiOBB4F0Soh_uVw3yeSve9pfEhPSIDadc-wto,4127
544
549
  maxframe/tensor/misc/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
@@ -640,20 +645,20 @@ maxframe/tests/test_utils.py,sha256=5Z2cym1tlpnF73f4I3WC1eBocsbNEDGzDErJL_fKWx8,
640
645
  maxframe/tests/utils.py,sha256=t99jsFXhHme886zvXO5sl20stB5WFJsDH6KeHc5I9N0,5057
641
646
  maxframe_client/__init__.py,sha256=hIVOnxj6AoN2zIMxQCzRb10k0LSoYS_DrQevXO9KPBg,705
642
647
  maxframe_client/conftest.py,sha256=UWWMYjmohHL13hLl4adb0gZPLRdBVOYVvsFo6VZruI0,658
643
- maxframe_client/fetcher.py,sha256=kwMjcEZxMAJye5BHWv-O82aExSj66IeTmPYvbn89wBs,8595
648
+ maxframe_client/fetcher.py,sha256=vwzGCH9pR_5aLcKzPL63iwDQ9UF2IMKa6TrY-JW2GNQ,8700
644
649
  maxframe_client/clients/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
645
650
  maxframe_client/clients/framedriver.py,sha256=upN6C1eZrCpLTsS6fihWOMy392psWfo0bw2XgSLI_Yg,4581
646
651
  maxframe_client/session/__init__.py,sha256=9zFCd3zkSADESAFc4SPoQ2nkvRwsIhhpNNO2TtSaWbU,854
647
- maxframe_client/session/consts.py,sha256=nD-D0zHXumbQI8w3aUyltJS59K5ftipf3xCtHNLmtc8,1380
652
+ maxframe_client/session/consts.py,sha256=USDwwz79zFjhlp2MGz5Th6cCuZaYRLAo491tUanZdDs,1430
648
653
  maxframe_client/session/graph.py,sha256=CEavpl_zmz_nZ2TXI4moRxpdYsMZMokV63889qI6l_4,4501
649
- maxframe_client/session/odps.py,sha256=PMxvEoiYUO9Pd5Sbfdub7nJxGh6iJR4bB9wtFHssAtc,21248
650
- maxframe_client/session/task.py,sha256=8_ZN2xbMdkRy2XdgJpEmB35vhGxfL0Qluzd0NVTjPwE,11402
654
+ maxframe_client/session/odps.py,sha256=6EzIZnE8zuBhyrG7PKxDtQNBqzcyPcD_7ZzzRFXmPhU,24134
655
+ maxframe_client/session/task.py,sha256=uxelaneGEMFQX_Cs73e3ZBdtbhLEJ-voa7BJ6VIDq0Y,13032
651
656
  maxframe_client/session/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
652
657
  maxframe_client/session/tests/test_task.py,sha256=861usEURVXeTUzfJYZmBfwsHfZFexG23mMtT5IJOOm4,3364
653
658
  maxframe_client/tests/__init__.py,sha256=29eM5D4knhYwe3TF42naTuC5b4Ym3VeH4rK8KpdLWNY,609
654
659
  maxframe_client/tests/test_fetcher.py,sha256=lYtn4NuntN-_A7rMd10e2y_CEUp7zelTij441NTFP6M,4265
655
- maxframe_client/tests/test_session.py,sha256=s4fodDMo8wPB7se6k0SxQ_rLy6i0uuA0i1fSYIjX4R0,10427
656
- maxframe-1.0.0rc3.dist-info/METADATA,sha256=gjyjCgDjAPygCA-UtLKthxA1YrCkqVJS-PbcvlWk_uc,3164
657
- maxframe-1.0.0rc3.dist-info/WHEEL,sha256=slqBGdqRnxanDn00BSYHhryEsWH_8CUurgRUvoMtK_Y,101
658
- maxframe-1.0.0rc3.dist-info/top_level.txt,sha256=64x-fc2q59c_vXwNUkehyjF1vb8JWqFSdYmUqIFqoTM,31
659
- maxframe-1.0.0rc3.dist-info/RECORD,,
660
+ maxframe_client/tests/test_session.py,sha256=hzzEhQnaefASvwlTGKWrkDUGPhOvk3WUSlvsi30O5C0,10863
661
+ maxframe-1.0.0rc4.dist-info/METADATA,sha256=ijkAuoAIX95Q94Q6AsQZfsg1ZlgdMMdBXC9OaTJDslw,3164
662
+ maxframe-1.0.0rc4.dist-info/WHEEL,sha256=slqBGdqRnxanDn00BSYHhryEsWH_8CUurgRUvoMtK_Y,101
663
+ maxframe-1.0.0rc4.dist-info/top_level.txt,sha256=64x-fc2q59c_vXwNUkehyjF1vb8JWqFSdYmUqIFqoTM,31
664
+ maxframe-1.0.0rc4.dist-info/RECORD,,
@@ -40,7 +40,7 @@ from maxframe.protocol import (
40
40
  )
41
41
  from maxframe.tensor.core import TENSOR_TYPE
42
42
  from maxframe.typing_ import PandasObjectTypes, TileableType
43
- from maxframe.utils import ToThreadMixin
43
+ from maxframe.utils import ToThreadMixin, sync_pyodps_options
44
44
 
45
45
  _result_fetchers: Dict[ResultType, Type["ResultFetcher"]] = dict()
46
46
 
@@ -120,13 +120,15 @@ class ODPSTableFetcher(ToThreadMixin, ResultFetcher):
120
120
 
121
121
  if tileable.shape and any(pd.isna(x) for x in tileable.shape):
122
122
  part_specs = [None] if not info.partition_specs else info.partition_specs
123
- tunnel = TableTunnel(self._odps_entry)
124
- total_records = 0
125
- for part_spec in part_specs:
126
- session = tunnel.create_download_session(
127
- info.full_table_name, part_spec
128
- )
129
- total_records += session.count
123
+
124
+ with sync_pyodps_options():
125
+ table = self._odps_entry.get_table(info.full_table_name)
126
+ tunnel = TableTunnel(self._odps_entry)
127
+ total_records = 0
128
+ for part_spec in part_specs:
129
+ session = tunnel.create_download_session(table, part_spec)
130
+ total_records += session.count
131
+
130
132
  new_shape_list = list(tileable.shape)
131
133
  new_shape_list[0] = total_records
132
134
  tileable.params = {"shape": tuple(new_shape_list)}
@@ -12,6 +12,9 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
+ # retry consts
16
+ EMPTY_RESPONSE_RETRY_COUNT = 5
17
+
15
18
  # Restful Service
16
19
  RESTFUL_SESSION_INSECURE_SCHEME = "mf"
17
20
  RESTFUL_SESSION_SECURE_SCHEME = "mfs"