# Path: formulaic/materializers/arrow.py
# class ArrowMaterializer(PandasMaterializer):
# 
#     REGISTER_NAME = "arrow"
#     REGISTER_INPUTS = ("pyarrow.lib.Table",)
# 
#     @override
#     def _init(self):
#         self.__data_context = LazyArrowTableProxy(self.data)
# 
#     @override
#     @property
#     def data_context(self):
#         return self.__data_context


import numpy
import pandas
import pytest
import scipy.sparse as spsparse
        import pyarrow
        import pyarrow
        import pyarrow
from formulaic.materializers import ArrowMaterializer



def check_for_pyarrow():
    try:

        return False
    except ImportError:
        return True


ARROW_TESTS = {
    "a": (["Intercept", "a"], ["Intercept", "a"]),
    "A": (
        ["Intercept", "A[T.b]", "A[T.c]"],
        ["Intercept", "A[T.a]", "A[T.b]", "A[T.c]"],

# Path: formulaic/materializers/arrow.py
# class ArrowMaterializer(PandasMaterializer):
# 
#     REGISTER_NAME = "arrow"
#     REGISTER_INPUTS = ("pyarrow.lib.Table",)
# 
#     @override
#     def _init(self):
#         self.__data_context = LazyArrowTableProxy(self.data)
# 
#     @override
#     @property
#     def data_context(self):
#         return self.__data_context


# Path: tests/materializers/test_arrow.py
import numpy
import pandas
import pytest
import scipy.sparse as spsparse
        import pyarrow
        import pyarrow
        import pyarrow
from formulaic.materializers import ArrowMaterializer




def check_for_pyarrow():
    try:

        return False
    except ImportError:
        return True


ARROW_TESTS = {
    "a": (["Intercept", "a"], ["Intercept", "a"]),
    "A": (
        ["Intercept", "A[T.b]", "A[T.c]"],
        ["Intercept", "A[T.a]", "A[T.b]", "A[T.c]"],

    ),