Comments (2)
from pyminder.
This is the data that is being sent (I removed the tokens):
data: {'auth_token': ''}
data: {'roadall': [[1576429200, 0, None]], 'auth_token': ''}
The Unix timestamp 1576429200
is neither the start nor the end timestamp I set, but the timestamp of the first datapoint for the goal.
I guess the error occurs because the timestamp corresponds to Sun Dec 15 18:00:00 CET 2019
.
After that I looked into self._dense_path
and noticed that the rate is not changed there since the steps are bigger than the timestamp range that I set for stage_rate_change
.
After increasing the range to 1586815200
(Tue Apr 14 00:00:00 CEST 2020) - 1587820000
(Sat Apr 25 15:06:40 CEST 2020), pyminder transmits the following:
data: {'auth_token': ''}
data: {'roadall': [[1576429200, 0, None], [1587747600, None, 1], [1907600400, None, 0]], 'auth_token': ''}
The error message is the same one as before.
Should the roadall
array contain more datapoints? The range for the rate change is 11 days.
from pyminder.
Related Issues (6)
- repository classification HOT 1
- how to check if date has data already?
- SyntaxError: invalid syntax for pyminder-0.6.2 on Python 3.5.2, missing dependency "natlibpy" for Python 3.6 HOT 6
- Consider adding to the readme an example of using API modifying goal
- Add hashtag extraction to pyminder Goal object
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 pyminder.