title: 'DataFrame' object has no attribute 'convert_objects'
body: <p>My code-</p>
  <pre><code>data = data.replace(&quot;?&quot;, np.nan)
  data = data.convert_objects(convert_numeric=True)
  
  data.isnull().sum()
  </code></pre>
  <p>ERROR-</p>
  <p><img src="https://i.stack.imgur.com/nBrcw.png" alt="enter image description here" /></p>
  <pre><code>AttributeError                            Traceback (most recent call last)
  &lt;ipython-input-7-1cfce90286bb&gt; in &lt;module&gt;()
        2 
        3 data = data.replace(&quot;?&quot;, np.nan)
  ----&gt; 4 data = data.convert_objects(convert_numeric=True)
        5 
        6 data.isnull().sum()
  
  /usr/local/lib/python3.7/dist-packages/pandas/core/generic.py in __getattr__(self, name)
     5139             if self._info_axis._can_hold_identifiers_and_holds_name(name):
     5140                 return self[name]
  -&gt; 5141             return object.__getattribute__(self, name)
     5142 
     5143     def __setattr__(self, name: str, value) -&gt; None:
  
  AttributeError: 'DataFrame' object has no attribute 'convert_objects
  </code></pre>
  <p>How can I solve this error?</p>