Buckets:

download
raw
439 Bytes
"""Serializer abstractions for Focus export."""
from __future__ import annotations
from abc import ABC, abstractmethod
import polars as pl
class FocusSerializer(ABC):
"""Base serializer turning Focus frames into bytes."""
extension: str = ""
@abstractmethod
def serialize(self, frame: pl.DataFrame) -> bytes:
"""Convert the normalized Focus frame into the chosen format."""
raise NotImplementedError

Xet Storage Details

Size:
439 Bytes
·
Xet hash:
6dfccab869dcf113c28a26567b90f1bb76507f181447c3515765cb702d37ee62

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.