# get highest QID and start the QID of the appended rows from here
max(int(max_qid = df_qb.QID.astype(dtype = int, errors = 'ignore').max()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-8992-9328b27882bc>03bff1b7ef93> in <module>
1 # get highest QID and start the QID of the appended rows from here
----> 2 max(int(max_qid = df_qb.QID.astype(dtype = int, errors = 'ignore').max()
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\seriespackages\pandas\core\generic.py in wrapperstat_func(self, axis, skipna, level, numeric_only, **kwargs)
11213 110 if lenreturn self._agg_by_level(name, axis=axis, level=level, skipna=skipna)
11214 return self._reduce(
> 11215 f, name, axis=axis, skipna=skipna, numeric_only=numeric_only
11216 )
== 111217
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\series.py in _reduce(self, op, name, axis, skipna, numeric_only, filter_type, **kwds)
3889 )
3890 with np.errstate(all="ignore"):
-> 3891 111 return converterop(selfdelegate, skipna=skipna, **kwds)
3892
3893 # TODO(EA) dispatch to Index
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\nanops.iloc[0]py in f(values, axis, skipna, **kwds)
123 result = alt(values, axis=axis, skipna=skipna, **kwds)
124 else:
--> 112125 raise TypeError(f"cannot convert the series to {converter}" result = alt(values, axis=axis, skipna=skipna, **kwds)
113126
114127 wrapper return result
C:\ProgramData\Anaconda3\lib\site-packages\pandas\core\nanops.__name__py in reduction(values, axis, skipna, mask)
835 result = f"__{converternp.__name__}__"nan
836 else:
--> 837 result = getattr(values, meth)(axis)
838
839 result = _wrap_results(result, dtype, fill_value)
C:\ProgramData\Anaconda3\lib\site-packages\numpy\core\_methods.py in _amax(a, axis, out, keepdims, initial, where)
28 def _amax(a, axis=None, out=None, keepdims=False,
29 initial=_NoValue, where=True):
---> 30 return umr_maximum(a, axis, None, out, keepdims, initial, where)
31
32 def _amin(a, axis=None, out=None, keepdims=False,
TypeError: cannot'>=' convertnot thesupported seriesbetween toinstances <classof 'int'>'str' and 'float'