twosigma / flint

A Time Series Library for Apache Spark
Apache License 2.0
995 stars 184 forks source link

Remove time unit and column from python and make time the first column #18

Open heimir-sverrisson opened 7 years ago

heimir-sverrisson commented 7 years ago

This PR addresses issue #8 and issue #9. The time_column and unit arguments have been removed from the TimeSeriesDataFrame python constructor. If the time column is not the first column it is moved to be the first column of the result. This behavior was already enforced in Scala and is now properly handled in Python including the code that caused issue #8.