Write out a metadata array to the key as a fixed-format Series. Parameters ---------- key : str values : ndarray
(self, key: str, values: np.ndarray)
| 3729 | return f"{group}/meta/{key}/meta" |
| 3730 | |
| 3731 | def write_metadata(self, key: str, values: np.ndarray) -> None: |
| 3732 | """ |
| 3733 | Write out a metadata array to the key as a fixed-format Series. |
| 3734 | |
| 3735 | Parameters |
| 3736 | ---------- |
| 3737 | key : str |
| 3738 | values : ndarray |
| 3739 | """ |
| 3740 | self.parent.put( |
| 3741 | self._get_metadata_path(key), |
| 3742 | Series(values, copy=False), |
| 3743 | format="table", |
| 3744 | encoding=self.encoding, |
| 3745 | errors=self.errors, |
| 3746 | nan_rep=self.nan_rep, |
| 3747 | ) |
| 3748 | |
| 3749 | def read_metadata(self, key: str): |
| 3750 | """return the meta data array for this key""" |
no test coverage detected