From ab63ea071c7082ce6bc5db4e3fa0f06df6e49383 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Wed, 4 Oct 2023 18:02:40 -0700 Subject: [PATCH] removing pandas --- nwb_linkml/src/nwb_linkml/types/ndarray.py | 1 + nwb_linkml/tests/test_types/test_df.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nwb_linkml/src/nwb_linkml/types/ndarray.py b/nwb_linkml/src/nwb_linkml/types/ndarray.py index 85359f5..70d48c9 100644 --- a/nwb_linkml/src/nwb_linkml/types/ndarray.py +++ b/nwb_linkml/src/nwb_linkml/types/ndarray.py @@ -161,6 +161,7 @@ class NDArray(_NDArray): when_used='json' ) ) + class NDArrayProxy(): """ Thin proxy to numpy arrays stored within hdf5 files, diff --git a/nwb_linkml/tests/test_types/test_df.py b/nwb_linkml/tests/test_types/test_df.py index 07a6c73..6ecba9e 100644 --- a/nwb_linkml/tests/test_types/test_df.py +++ b/nwb_linkml/tests/test_types/test_df.py @@ -1,6 +1,5 @@ import pytest -import pandas as pd from pydantic import BaseModel, ValidationError from typing import List, Union, Optional @@ -9,6 +8,7 @@ def test_df(): """ Dataframe class should behave like both a pydantic model and a dataframe """ + import pandas as pd from nwb_linkml.types.df import DataFrame class MyDf(DataFrame):