Jump to content

Synjen Marrocco

Members
  • Posts

    12
  • Joined

  • Last visited

  • Days Won

    2

Community Answers

  1. Synjen Marrocco's post in push() unit of measure together with signal was marked as the answer   
    Hi Johannas,
    It looks like in your first post that your metadata dataframe might have an issue. Can you try the same code but remove the inplace= True from the set_index? Additionally, can you add a 'Type' column to the metadata? You can also output the metadata frame before the push to ensure it is as expected.
    This example seemed to work for me:
    from seeq import spy import pandas as pd import csv csv_file = pd.read_csv('data_.csv', parse_dates=['Date-Time'], index_col='Date-Time') metadata = pd.DataFrame({ 'Name': ['Temperature', 'RH'], 'Value Unit Of Measure': 'EUR/MW', 'Type':'Signal' }).set_index('Name', drop=False) spy.push(data = csv_file, metadata = metadata, workbook='synjen_test004')  
     
×
×
  • Create New...