Skip to content

Commit

Permalink
fixed FrameData docstring causing failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
evalott100 committed Jul 11, 2024
1 parent 9c35999 commit fa3b730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pandablocks/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ class FrameData(Data):
... (2, 12)],
... dtype=[('COUNTER1.OUT.Value', '<f8'), ('COUNTER2.OUT.Value', '<f8')])
>>> fdata = FrameData(data)
>>> fdata.data[0] # Row view
(0., 10.)
>>> (fdata.data[0]['COUNTER1.OUT.Value'], fdata.data[0]['COUNTER2.OUT.Value'])
(np.float64(0.0), np.float64(10.0))
>>> fdata.column_names # Column names
('COUNTER1.OUT.Value', 'COUNTER2.OUT.Value')
>>> fdata.data['COUNTER1.OUT.Value'] # Column view
Expand Down

0 comments on commit fa3b730

Please sign in to comment.