code: def test_from_pandas(self, monkeypatch):
      monkeypatch.setattr(
          "argilla.client.datasets.DatasetBase._RECORD_TYPE",
          TextClassificationRecord,
      )
      monkeypatch.setattr(
          "argilla.client.datasets.DatasetBase._from_pandas",
          lambda x: x,
      )
  
      df = pd.DataFrame({"unsupported_column": [None]})
  
      with pytest.warns(
          UserWarning,
          match="Following columns are not supported by the "
          r"TextClassificationRecord model and are ignored: \['unsupported_column'\]",
      ):
          empty_df = DatasetBase.from_pandas(df)
          assert len(empty_df.columns) == 0
  
imports: import copy
  import os
  import sys
  from time import sleep
  import datasets
  import pandas
  import pytest
  import spacy
  from argilla.client.datasets import DatasetBase, DatasetForText2Text, DatasetForTextClassification, DatasetForTokenClassification, WrongRecordTypeError, read_datasets, read_pandas
  from argilla.client.models import Text2TextRecord, TextClassificationRecord, TokenClassificationRecord
  from argilla.datasets import TextClassificationSettings
label_desc: Use image node_id 5 for calling the TestDatasetBase obj's underlying member method code with example usage: obj.test_from_pandas(monkeypatch) without return types