code: def test_binned_statistic_float32(self):
      X = np.array([0, 0.42358226], dtype=np.float32)
      stat, _, _ = binned_statistic(X, None, "count", bins=5)
      assert_allclose(stat, np.array([1, 0, 0, 0, 1], dtype=np.float64))
  
imports: import numpy
  from numpy.testing import assert_allclose
  from pytest import raises
  from scipy.stats import binned_statistic, binned_statistic_2d, binned_statistic_dd
  from scipy._lib._util import check_random_state
  from .common_tests import check_named_results
label_desc: Use image node_id 42 for calling the TestBinnedStatistic obj's underlying member method code with example usage: obj.test_binned_statistic_float32() without return types