tslearn-team / tslearn-team/tslearn
Usage of tslearn.utils.to_time_series_dataset gives error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.2k
- Forks
- 384
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 11
Description
Describe the bug
Unable to use to_time_series_dataset method. Following is the error thrown when the dataframe has any date column:
TypeError: float() argument must be a string or a number, not 'Timestamp'
Expected behavior
exceute properly
Environment (please complete the following information):
- OS: Ubuntu
- tslearn version latest
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure at tslearn.utils.to_time_series_dataset with a dataframe containing a date column, as described in the issue. Trace the conversion that raises the Timestamp TypeError and verify that the reported dataframe input completes successfully without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100