Coder Social home page Coder Social logo

Comments (4)

LeoDashTM avatar LeoDashTM commented on July 26, 2024

@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.

LeoDashTM avatar LeoDashTM commented on July 26, 2024

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.

icexelloss avatar icexelloss commented on July 26, 2024

@emmanuelmillionaer Hi currently Flint only works with Spark 2.3+

from flint.

icexelloss avatar icexelloss commented on July 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.