Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Used masked table instead of object columns? #114

Open
taldcroft opened this issue Jul 17, 2018 · 0 comments
Open

Used masked table instead of object columns? #114

taldcroft opened this issue Jul 17, 2018 · 0 comments

Comments

@taldcroft
Copy link
Member

Currently if one explicitly sets continuity so that auto-fetching of continuity is disabled, then the output columns are all Object type. Instead this could return MaskedColumns with the missing values masked. Maybe this is only low priority since this mode of operation is atypical.

In [33]: states.get_states('2017:300', '2017:302', state_keys=['q1', 'fep_count'], continuity={})
Out[33]:
<Table masked=False length=92>
      datestart              datestop              q1        fep_count trans_keys
      string168             string168            object        object    object
--------------------- --------------------- ---------------- --------- ----------
2017:300:12:00:00.000 2017:300:14:45:15.955             None      None
2017:300:14:45:15.955 2017:300:14:49:15.955     -0.387726852      None         q1
2017:300:14:49:15.955 2017:300:14:54:01.103     -0.387726852      None         q1
2017:300:14:54:01.103 2017:300:14:54:25.103     -0.387726852         0  fep_count
2017:300:14:54:25.103 2017:300:16:42:23.354     -0.387726852         6  fep_count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant