You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a column name "R.A." and lsdb.from_dataframe() fails
File /ocean/projects/phy210048p/malanche/lsdb-tests/cenv/lib/python3.11/site-packages/nested_pandas/nestedframe/core.py:58, in NestedFrame._is_known_hierarchical_column(self, colname)
56 """Determine whether a string is a known hierarchical column name"""
57 if "." in colname:
---> 58 left, right = colname.split(".")
59 if left in self.nested_columns:
60 return right in self.all_columns[left]
ValueError: too many values to unpack (expected 2)
We probably should count dots or unpack it safer, e.g. with left, right, *others = colname.split(".")
Before submitting
Please check the following:
I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.
The text was updated successfully, but these errors were encountered:
Bug report
I have a column name "R.A." and
lsdb.from_dataframe()
failsWe probably should count dots or unpack it safer, e.g. with
left, right, *others = colname.split(".")
Before submitting
Please check the following:
The text was updated successfully, but these errors were encountered: