guidepost 0.2.13__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.
- {guidepost-0.2.13/guidepost.egg-info → guidepost-0.2.14}/PKG-INFO +1 -1
- {guidepost-0.2.13 → guidepost-0.2.14}/guidepost/guidepost.py +6 -5
- guidepost-0.2.14/guidepost/version.py +2 -0
- {guidepost-0.2.13 → guidepost-0.2.14/guidepost.egg-info}/PKG-INFO +1 -1
- guidepost-0.2.13/guidepost/version.py +0 -2
- {guidepost-0.2.13 → guidepost-0.2.14}/LICENSE +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/README.md +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/figs/__init__.py +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/figs/guidepost_tutorial_info.png +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/guidepost/__init__.py +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/guidepost/guidepost.js +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/guidepost.egg-info/SOURCES.txt +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/guidepost.egg-info/dependency_links.txt +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/guidepost.egg-info/requires.txt +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/guidepost.egg-info/top_level.txt +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/pyproject.toml +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/setup.cfg +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/setup.py +0 -0
- {guidepost-0.2.13 → guidepost-0.2.14}/tutorials/__init__.py +0 -0
|
@@ -7,7 +7,7 @@ import json
|
|
|
7
7
|
import os
|
|
8
8
|
|
|
9
9
|
class Guidepost(anywidget.AnyWidget):
|
|
10
|
-
_esm = os.path.join("
|
|
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.
|
|
24
|
-
|
|
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 =
|
|
28
|
-
o_df =
|
|
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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|