Jump to content

Cannot access tags from worksheet in datalab


Go to solution Solved by John Cox,

Recommended Posts

Posted

Dear all, 

I cannot grap a tag from a worksheet. (seeq-spy: 193.17).

Any advise as well as some suggestions on how to add an existing PIMS tag to 1 of the existing dashboards?

Many thanks

Filip

image.png.ea6dbfa600fd520e24d28b7ef29cae40.png

Posted

Thanks John that worked. An additional question. How can I add / append a variable to the list to be displayed? The suggestion by the AI assistant does not work apparently.

image.png.942426d30acee8b05bde5729f3a4bcd1.png

 

  • Seeq Team
Posted

Hello Filip,

Please look at this example: the pd.concat() approach worked for me to combine the dataframes. Please also note that in the resulting dataframe there are additional columns on the far right you will want to remove, as they don't apply to the original worksheet.display_items. Also, of course, you will want to assign values for the Color, Line Style, etc for the appended tag. 

image.png

 

Also, if you haven't looked at this SPy Documentation folder example already, here is a great example of manipulating worksheets (and specifically adding a new tag to an existing worksheet). This example is from the spy.workbooks in the SPy Documentation folder (located in every Data Lab project). 

image.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...