code: def test_empty():
      # for DataFrame
      assert (
          from_pandas_df(pd.DataFrame()).empty == pd.DataFrame().empty
      )
      assert (
          from_pandas_df(pd.DataFrame({})).empty
          == pd.DataFrame({}).empty
      )
      assert (
          from_pandas_df(pd.DataFrame({"a": []})).empty
          == pd.DataFrame({"a": []}).empty
      )
      assert (
          from_pandas_df(pd.DataFrame({"a": [1]})).empty
          == pd.DataFrame({"a": [1]}).empty
      )
      assert (
          from_pandas_df(pd.DataFrame({"a": [1], "b": [2]})).empty
          == pd.DataFrame({"a": [1], "b": [2]}).empty
      )
      assert (
          from_pandas_df(pd.DataFrame(np.empty(shape=(4, 0)))).empty
          == pd.DataFrame(np.empty(shape=(4, 0))).empty
      )
  
      # for Series
      assert from_pandas_series(pd.Series()).empty == pd.Series().empty
      assert (
          from_pandas_series(pd.Series({})).empty == pd.Series({}).empty
      )
      assert (
          from_pandas_series(pd.Series({"a": []})).empty
          == pd.Series({"a": []}).empty
      )
      assert (
          from_pandas_series(pd.Series({"a": [1]})).empty
          == pd.Series({"a": [1]}).empty
      )
  
      # Maybe fail due to lazy evaluation
      with pytest.raises(ValueError):
          a = from_pandas_df(pd.DataFrame(np.random.rand(10, 2)))
          assert a[a > 0].empty
      with pytest.raises(ValueError):
          a = from_pandas_series(pd.Series(np.random.rand(10)))
          assert a[a > 0].empty
  
imports: from typing import List, Union
  import numpy
  import pandas
  import pytest
  from ....None import opcodes
  from ....config import options, option_context
  from ....core import OutputType, tile, Tileable
  from ....core.graph import TileableGraph, TileableGraphBuilder, TileContext, ChunkGraphBuilder
  from ....core.operand import OperandStage
  from ....tensor.core import TENSOR_TYPE
  from ...None import eval, cut, get_dummies, to_numeric
  from ...core import DATAFRAME_TYPE, SERIES_TYPE, SERIES_CHUNK_TYPE, INDEX_TYPE, CATEGORICAL_TYPE, CATEGORICAL_CHUNK_TYPE, DataFrameData, SeriesData
  from ...datasource.dataframe import from_pandas
  from ...datasource.series import from_pandas
  from ...datasource.index import from_pandas
  from ..None import to_gpu, to_cpu, astype
label_desc: Use image node_id 21 for calling a global function with example usage: test_empty() without return types