rapidata 2.10.0__py3-none-any.whl → 2.10.1__py3-none-any.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 rapidata might be problematic. Click here for more details.

@@ -8,7 +8,7 @@ class RapidataResults(dict):
8
8
  A specialized dictionary class for handling Rapidata API results.
9
9
  Extends the built-in dict class with specialized methods.
10
10
  """
11
- def to_pandas(self, split_detailed: bool = False) -> pd.DataFrame:
11
+ def to_pandas(self, split_details: bool = False) -> pd.DataFrame:
12
12
  """
13
13
  This method is currently under development.
14
14
 
@@ -18,14 +18,14 @@ class RapidataResults(dict):
18
18
  For regular results, flattens nested dictionaries into columns with underscore-separated names.
19
19
 
20
20
  Args:
21
- split_detailed: If True, splits each datapoint by its detailed results,
21
+ split_details: If True, splits each datapoint by its detailed results,
22
22
  creating a row for each response with global metrics copied.
23
23
 
24
24
  Returns:
25
25
  pd.DataFrame: A DataFrame containing the processed results
26
26
 
27
27
  Raises:
28
- ValueError: If split_detailed is True but no detailed results are found
28
+ ValueError: If split_details is True but no detailed results are found
29
29
  """
30
30
  if "results" not in self or not self["results"]:
31
31
  return pd.DataFrame()
@@ -33,8 +33,8 @@ class RapidataResults(dict):
33
33
  if self["info"].get("orderType") is None:
34
34
  print("Warning: Results are old and Order type is not specified. Dataframe might be wrong.")
35
35
 
36
- # Check for detailed results if split_detailed is True
37
- if split_detailed:
36
+ # Check for detailed results if split_details is True
37
+ if split_details:
38
38
  if not self._has_detailed_results():
39
39
  raise ValueError("No detailed results found in the data")
40
40
  return self._to_pandas_with_detailed_results()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: rapidata
3
- Version: 2.10.0
3
+ Version: 2.10.1
4
4
  Summary: Rapidata package containing the Rapidata Python Client to interact with the Rapidata Web API in an easy way.
5
5
  License: Apache-2.0
6
6
  Author: Rapidata AG
@@ -399,7 +399,7 @@ rapidata/rapidata_client/order/_rapidata_dataset.py,sha256=ipSLGEQm6Z5Gj0Z13SmE5
399
399
  rapidata/rapidata_client/order/_rapidata_order_builder.py,sha256=N6mqmgneJSsb_no_Ps9BG3EhDekLgKxFYpjDCN-VVeg,13095
400
400
  rapidata/rapidata_client/order/rapidata_order.py,sha256=XI9xeEtqZIwdAXLe9Pn4RO8iPNSoBToQ2WD62TRWzTE,9115
401
401
  rapidata/rapidata_client/order/rapidata_order_manager.py,sha256=4wW5xtmEtdewFGGwMWSMbdLZpHvygtLCfYNv4lcHGg8,27271
402
- rapidata/rapidata_client/order/rapidata_results.py,sha256=_Upy8IDEzkMJJ7QXz-MnZ3ONkhZd2uZ6KPW0SyJ7s40,7866
402
+ rapidata/rapidata_client/order/rapidata_results.py,sha256=khl0eAvNZVy4HNVNMj52FCJcJHXnytkDSQRKnX_DzsM,7861
403
403
  rapidata/rapidata_client/rapidata_client.py,sha256=A9mnSX6wzVF9TxS1YH87hTi4jCn75dIuP3KZj5Y_vFg,1957
404
404
  rapidata/rapidata_client/referee/__init__.py,sha256=q0Hv9nmfEpyChejtyMLT8hWKL0vTTf_UgUXPYNJ-H6M,153
405
405
  rapidata/rapidata_client/referee/_base_referee.py,sha256=MdFOhdxt3sRnWXLDKLJZKFdVpjBGn9jypPnWWQ6msQA,496
@@ -447,7 +447,7 @@ rapidata/service/credential_manager.py,sha256=Of0BQs_V1T7rkrWX9groLX790nOknaARwn
447
447
  rapidata/service/local_file_service.py,sha256=pgorvlWcx52Uh3cEG6VrdMK_t__7dacQ_5AnfY14BW8,877
448
448
  rapidata/service/openapi_service.py,sha256=Z4NrAuilLlIWBdGOv6otz36tHS_vvU36w5jmvOUTmqo,3198
449
449
  rapidata/service/token_manager.py,sha256=JZ5YbR5Di8dO3H4kK11d0kzWlrXxjgCmeNkHA4AapCM,6425
450
- rapidata-2.10.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
451
- rapidata-2.10.0.dist-info/METADATA,sha256=Dtdyhe-hoUqSfuARXuuqg2ilt1NVgCxB9X1wo1r_DFA,1147
452
- rapidata-2.10.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
453
- rapidata-2.10.0.dist-info/RECORD,,
450
+ rapidata-2.10.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
451
+ rapidata-2.10.1.dist-info/METADATA,sha256=kCZpLhnUrAL731ysACWkDMud5Hxpw9VH9HVkb6LIBvs,1147
452
+ rapidata-2.10.1.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
453
+ rapidata-2.10.1.dist-info/RECORD,,