Return a marker mapping for the providers present in the data.
(providers: pd.Series | list[str])
| 65 | |
| 66 | |
| 67 | def _provider_markers(providers: pd.Series | list[str]) -> dict[str, str]: |
| 68 | """Return a marker mapping for the providers present in the data.""" |
| 69 | unique = providers if isinstance(providers, list) else providers.unique() |
| 70 | return {p: PROVIDER_MARKERS[p] for p in unique} |
| 71 | |
| 72 | |
| 73 | def read_metadata(folder: Path) -> dict: |
no outgoing calls
no test coverage detected