code: def test_detector_data():
      """Tests ``DetectorData`` data class."""
      data = DetectorData(df=None)
  
      assert data.df is None
      assert data.anomaly_df is None
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_detector_data() without return types