guidepost 0.2.12__tar.gz → 0.2.14__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: guidepost
3
- Version: 0.2.12
3
+ Version: 0.2.14
4
4
  Summary: Guidepost. An overview visualization for understanding supercomputer queue data.
5
5
  Home-page: https://github.com/cscully-allison/guidepost
6
6
  Author: Connor Scully-Allison
@@ -79,7 +79,7 @@ Here is a sample table containg jobs-related data from a supercomputer schedulin
79
79
  | 12345 | 2023-11-01 21:19:33 |5.2 | 10 | short | Complete | User1 |
80
80
  | 12346 | 2023-11-01 21:20:01 |12.0 | 20 | long | Running | User2 |
81
81
 
82
- In this example, the three data values we will use for our x, y and color variables are: start_time, queue_wait and nodes_requested. We would also like to use `parition` to facet our data and `user` as an additional categorical variable to filter on. In the [next section](#3-configure-visualization), we show how to specify which columns in your dataset correspond to parts of the visualizaiton.
82
+ In this example, the three data values we will use for our x, y and color variables are: start_time, queue_wait and nodes_requested. We would also like to use `parition` to facet our data and `user` as an additional categorical variable to filter on. In the [next section](#3-configure-visualization), we show how to specify which columns in your dataset correspond to parts of the visualization.
83
83
 
84
84
  The `load_data()` function will format your data for json serialization and will update the visualization if it has already been run. This function will report out any columns or rows which are dropped from the original dataset due to conainting `null`/`NaN`/`None` values or unallowed datatypes like `timedelta`s.
85
85
 
@@ -51,7 +51,7 @@ Here is a sample table containg jobs-related data from a supercomputer schedulin
51
51
  | 12345 | 2023-11-01 21:19:33 |5.2 | 10 | short | Complete | User1 |
52
52
  | 12346 | 2023-11-01 21:20:01 |12.0 | 20 | long | Running | User2 |
53
53
 
54
- In this example, the three data values we will use for our x, y and color variables are: start_time, queue_wait and nodes_requested. We would also like to use `parition` to facet our data and `user` as an additional categorical variable to filter on. In the [next section](#3-configure-visualization), we show how to specify which columns in your dataset correspond to parts of the visualizaiton.
54
+ In this example, the three data values we will use for our x, y and color variables are: start_time, queue_wait and nodes_requested. We would also like to use `parition` to facet our data and `user` as an additional categorical variable to filter on. In the [next section](#3-configure-visualization), we show how to specify which columns in your dataset correspond to parts of the visualization.
55
55
 
56
56
  The `load_data()` function will format your data for json serialization and will update the visualization if it has already been run. This function will report out any columns or rows which are dropped from the original dataset due to conainting `null`/`NaN`/`None` values or unallowed datatypes like `timedelta`s.
57
57
 
@@ -7,7 +7,7 @@ import json
7
7
  import os
8
8
 
9
9
  class Guidepost(anywidget.AnyWidget):
10
- _esm = os.path.join("../guidepost/guidepost.js")
10
+ _esm = os.path.join(os.path.dirname(__file__), "guidepost.js")
11
11
  vis_data = traitlets.Dict({}).tag(sync=True)
12
12
  vis_configs = traitlets.Dict({}).tag(sync=True)
13
13
  selected_records = traitlets.Unicode("[]").tag(sync=True)
@@ -20,12 +20,13 @@ class Guidepost(anywidget.AnyWidget):
20
20
  Drop NAs, remove time deltas, report warnings
21
21
  '''
22
22
 
23
- in_df.insert(0, 'gp_idx', range(0, len(in_df)))
24
- self.cached_records_df = in_df
23
+ in_cpy = in_df.copy()
24
+ in_cpy.insert(0, 'gp_idx', range(0, len(in_cpy)))
25
+ self.cached_records_df = in_cpy
25
26
 
26
27
  _warn_skips = (os.path.dirname('.'),)
27
- original_cols = in_df.columns
28
- o_df = in_df.dropna(axis=1, how='all')
28
+ original_cols = in_cpy.columns
29
+ o_df = in_cpy.dropna(axis=1, how='all')
29
30
 
30
31
  #remove columns with only nans
31
32
  col_diff = original_cols.difference(o_df.columns)
@@ -0,0 +1,2 @@
1
+ __version_info__ = ("0", "2", "14")
2
+ __version__ = ".".join(__version_info__)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: guidepost
3
- Version: 0.2.12
3
+ Version: 0.2.14
4
4
  Summary: Guidepost. An overview visualization for understanding supercomputer queue data.
5
5
  Home-page: https://github.com/cscully-allison/guidepost
6
6
  Author: Connor Scully-Allison
@@ -79,7 +79,7 @@ Here is a sample table containg jobs-related data from a supercomputer schedulin
79
79
  | 12345 | 2023-11-01 21:19:33 |5.2 | 10 | short | Complete | User1 |
80
80
  | 12346 | 2023-11-01 21:20:01 |12.0 | 20 | long | Running | User2 |
81
81
 
82
- In this example, the three data values we will use for our x, y and color variables are: start_time, queue_wait and nodes_requested. We would also like to use `parition` to facet our data and `user` as an additional categorical variable to filter on. In the [next section](#3-configure-visualization), we show how to specify which columns in your dataset correspond to parts of the visualizaiton.
82
+ In this example, the three data values we will use for our x, y and color variables are: start_time, queue_wait and nodes_requested. We would also like to use `parition` to facet our data and `user` as an additional categorical variable to filter on. In the [next section](#3-configure-visualization), we show how to specify which columns in your dataset correspond to parts of the visualization.
83
83
 
84
84
  The `load_data()` function will format your data for json serialization and will update the visualization if it has already been run. This function will report out any columns or rows which are dropped from the original dataset due to conainting `null`/`NaN`/`None` values or unallowed datatypes like `timedelta`s.
85
85
 
@@ -1,2 +0,0 @@
1
- __version_info__ = ("0", "2", "12")
2
- __version__ = ".".join(__version_info__)
File without changes
File without changes
File without changes
File without changes
File without changes