title: cuPy error : Implicit conversion to a host NumPy array via __array__ is not allowed,
body: <p>Getting this error while converting array to cuPy array:
  TypeError: Implicit conversion to a host NumPy array via <strong>array</strong> is not allowed, To explicitly construct a GPU array, consider using cupy.asarray(...)
  To explicitly construct a host array, consider using .to_array()</p>
  <p><img src="https://i.stack.imgur.com/JjHhh.png" alt="image" /></p>
  <pre><code>    '''
        import cudf
        import cuml
        import cupy
  
        hospital_data=cudf.read_csv('nin-health-facilities.csv')
        cupy_lat = cupy.asarray(hospital_data['latitude'])
        cupy_long =cupy.asarray(hospital_data['longitude'])
      '''
  </code></pre>
  <p>Error:</p>
  <pre><code>TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-33-999a5fd5e344&gt; in &lt;module&gt;()
        4 
        5 hospital_data=cudf.read_csv('nin-health-facilities.csv')
  ----&gt; 6 cupy_lat = cupy.asarray(hospital_data['latitude'])
        7 cupy_long =cupy.asarray(hospital_data['longitude'])
  
  1 frames
  cupy/_core/core.pyx in cupy._core.core.array()
  
  cupy/_core/core.pyx in cupy._core.core.array()
  
  cupy/_core/core.pyx in cupy._core.core._send_object_to_gpu()
  
  /usr/local/lib/python3.7/site-packages/cudf/core/frame.py in __array__(self, dtype)
     1649     def __array__(self, dtype=None):
     1650         raise TypeError(
  -&gt; 1651             &quot;Implicit conversion to a host NumPy array via __array__ is not &quot;
     1652             &quot;allowed, To explicitly construct a GPU array, consider using &quot;
     1653             &quot;cupy.asarray(...)\nTo explicitly construct a &quot;
  
  TypeError: Implicit conversion to a host NumPy array via __array__ is not allowed, To explicitly construct a GPU array, consider using cupy.asarray(...)
  To explicitly construct a host array, consider using .to_array()
  </code></pre>