Skip to content

Send dataframe API #7204

Open
Open
@Famok

Description

@Famok

Describe the solution you'd like
I'd like to send dataframes (e.g. pandas and/or arrow) at once. They have the same timeline but multiple columns (e.g. time, x, y, z), whereas most often the index is the time either in us, seconds or pd.TimedeltaIndex.
Great would be something like:

send_dataframe( base_entity_path = 'mydataframe',
             timeline = 'mytimeline',
             data = df, 
             time_column:Union[None,str]= 'index',  # None would always select the index
             columns:Union[None, List[str]] = ['x','y']                 # None would select all columns
            ) 

Describe alternatives you've considered
Sending each column in separate calls. This works but might generate more overhead then necessary.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request🪵 Log & send APIsAffects the user-facing API for all languages

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions