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

DataFrame only containing one column named Index breaks the constructor #185

Open
chiraganand opened this issue Mar 21, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@chiraganand
Copy link
Member

!julia> TSFrame(DataFrame(Index=[1, 2]))
 ERROR: ArgumentError: Column Index is already present in the data frame which is not allowed when `makeunique=true`

This call should actually output an empty TSFrame with 0 columns but with the provided index.

Ref #183

@chiraganand chiraganand added the bug Something isn't working label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant