code: def test_intercept_no_covariates(spark, rg):
      num_samples = 10
      genotype_df = pd.DataFrame(rg.random((num_samples, 10)))
      phenotype_df = pd.DataFrame(
          random_phenotypes((num_samples, 2), rg)
      )
      # No error
      run_logistic_regression_spark(
          spark, genotype_df, phenotype_df, pd.DataFrame({})
      )
  
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 24 for calling a global function with example usage: test_intercept_no_covariates(spark, rg) without return types