![]() Supported date specifications for begin and end: Midnight in the timezone specified in the tz parameter. Dates specified without a time have their time set to Range ( begin=None, end=None, timezone='UTC' ) ¶īuilder method to set the begin and end date range for the Paths ( str) – one or more paths / URIs containing parquet files Performance by 10x compared to reading all columns in a set Specifying a subset of columns can greatly improve Default: “time” columns* (optional) A subset of columns to retain from the parquet table. Default: “ns” timeColumn (optional) Column in parquet table that specifies time. timeUnit (optional) Time unit of the time column. Otherwise specify is_sorted=False, or callĭefault: true. The Parquet files must be sorted on the time column, Right side of leftJoin or futureLeftJoin: This is useful to read a DataFrame that is on the Unit of time_column, can beīuilder method to set time distance to expand the begin and end date Use option("timeColumn", column) instead. Whether the input data isĪlready sorted (if already sorted, the conversion will be Only used if begin and end parameter are set. isSorted (optional) Whether the input dataframe is sorted on timeColumn.ĭefault: true. Specified using TSDataFrameReader.range(). BeginĪnd end are optional and either begin, end, or both beginĪnd end can be omitted. Supported options: range (optional) Set the inclusive-begin and exclusive-end time range. Sorted on the time column, otherwise specify Set this parameter to False to be end-exclusive.ĭataframe ( df, begin=None, end=None, *, timezone='UTC', is_sorted=None, time_column=None, unit=None ) ¶Ĭreates a TimeSeriesDataFrame from an existing Handle values that are rounded up to the next clock tick. This defaults to true because it is typically end_inclusive ( bool) – If true, a clock tick will be createdĪt the end time if the last tick falls at the end of the.The frequency is the same as specifying (offset % frequency). Note that specifying an offset greater than offset ( str) – the time to offset this clock from the begin time.ĭefault: “0s”.frequency ( str) – the time interval between rows,.See documentation on the end_inclusive parameter for Supported options: range (required) Set the inclusive-begin and inclusive-end time (by default).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |