Comments (4)
@emmanuelmillionaer hello there!
I'm glad someone else is trying to use this library. Do you know if there's an active forum anywhere, where flint users can ask questions, share answers and overall exchange their experiences with the library?
Regarding your example/error: please, read the docs, this works for me, take a look (you're missing the flint context object in place of the sql context, I'm guessing the start and the end timepoints are defaulted to min and max respectively):
from ts.flint import FlintContext, clocks
fc = FlintContext( sqlContext )
cl = clocks.uniform(fc, '30s', begin_date_time='2018-8-1 5:55:35', end_date_time='2018-08-01 05:59:05')
print( cl )
print( type( cl ) )
from ts.flint import _version
_version.get_versions()
FYI, this is running on DataBricks (Spark 2.3.1)
Now, I'm not able to join this clock (which I'm assuming is a DataFrame) to another existing DataFrame of mine - the error is saying joinLeft
is not available. Any help with that is appreciated.
from flint.
Forgot the output, here it is:
TimeSeriesDataFrame[time: timestamp]
<class 'ts.flint.dataframe.TimeSeriesDataFrame'>
Out[9]:
{'version': '0.6.0',
'full-revisionid': '2e56267f357f89a15f2bdf5ba9af83dc34afe75e',
'error': None,
'date': '2018-07-25T19:19:11+0000',
'dirty': False}
from flint.
@emmanuelmillionaer Hi currently Flint only works with Spark 2.3+
from flint.
@LeoDashTM I suspect clock table is not on the left side? Please create a another issue so we don't talk about two different issues here.
from flint.
Related Issues (20)
- error in installation while running sbt assemblyNoTest
- Expose close summarizer to Python API HOT 2
- After summarizeWindows flint_df can't able to convert into spark df HOT 5
- pyspark 2.4 support HOT 9
- build entirely from pypi or docker file , without additional jar manual addition
- Time Series Clustering
- sbt assemblyNoTest give Null Pointer Exception HOT 1
- Example of sqlContext in Weather.ipynb and Flint Example.ipynb HOT 2
- Regression/summarizer performance collapse? HOT 2
- Update documentation & licensing information on PyPI
- TypeError: 'JavaPackage' object is not callable HOT 7
- "joinLeft" returns dataframe that smaller than left_df HOT 1
- Both `.option("timeColumn","ds")` and `.parquet(path, time_column='ds') ` don't work HOT 2
- Flint Could not initialize class HOT 3
- UDF error
- How to make Flint work with Spark 3.0 HOT 3
- bug: incorrect parsing in certain strings HOT 1
- How to get the latest two events on a specific window using Flint? HOT 1
- Is flint still active?
- java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps; HOT 1
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 flint.