Comments (4)
We should add a test with older date times and fix this.
Ideally times before Jan 1st 1970 should just be negative values, e.g. 1969-12-31 23:59:59
becomes -1
.
from mindsdb_native.
We should add a test with older date times and fix this.
Ideally times before Jan 1st 1970 should just be negative values, e.g.
1969-12-31 23:59:59
becomes-1
.
it is present in pandas:
>>> import pandas as pd
>>>
>>>
>>>
>>> dt = "1969-12-31 23:59:59"
>>> dt = pd.to_datetime(dt, errors='coerce')
>>> dt.timestamp()
-1.0
>>> dt = "1968-12-31 23:59:59"
>>> dt = pd.to_datetime(dt, errors='coerce')
>>> dt.timestamp()
-31536001.0
from mindsdb_native.
I don't think that we need to proceed with this issue, since parent issue is not reproducible anymore (I've checked it) @paxcema could you please suggest?
from mindsdb_native.
The sinusoidal mode in Lightwood's datetime encoder seems to be working fine for normalizing any timestamp, so I think we can close this for now.
from mindsdb_native.
Related Issues (20)
- Kafka datasource
- Original column not working proplery
- Train with and without unbiasing procedure for unbalanced datasets HOT 1
- Failed to `order_by` date error
- Some of the 54 benchmark datasets fail HOT 1
- Add "date format" advanced argument
- airline_delays: "KeyError: 'Statistics.Flights.Delayed'"
- More aggressive multiprocessing when ray is used HOT 1
- eeg_eyes dataset: could not convert string to float
- pageviews dataset: Failed to order based on column: "Day" due to faulty value: 1/1/15
- Better handling of small time series groups
- training process takes too long HOT 3
- Anomaly error rate not working as intended
- Data analysis fails
- Faulty datetime processing
- AccStats should use same data split as the reported accuracy HOT 1
- Expose time series validation results to GUI
- Argument of type 'UUID' is not iterable
- Ensure validation dataframe is stratified
- Datetime type deductor bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mindsdb_native.