code: def test_spector_non_missing():
      ds = sm.datasets.spector.load_pandas()
      phenotype_df = pd.DataFrame({ds.endog.name: ds.endog})
      genotype_df = ds.exog.loc[:, ["GPA"]]
      covariate_df = ds.exog.drop("GPA", axis=1)
      assert_glow_equals_golden(genotype_df, phenotype_df, covariate_df)
  
imports: from pyspark.sql.types import ArrayType, DoubleType
  import glow.gwas.log_reg
  import glow.gwas.functions
  import statsmodels.api
  import pandas
  import numpy
  import pytest
label_desc: Use image node_id 7 for calling a global function with example usage: test_spector_non_missing() without return types