--------------------------------------------------------------------------- ValueError Traceback (most recent call
last) in ()
----> 1 df1.dropna(inplace=1)
2
3 df1
~\Anaconda3\lib\site-packages\pandas\core\frame.py in dropna(self,
axis, how, thresh, subset, inplace) 4259 1 Batman
Batmobile 1940-04-25 4260 """
-> 4261 inplace = validate_bool_kwarg(inplace, 'inplace') 4262 if isinstance(axis, (tuple, list)): 4263 #
GH20987
~\Anaconda3\lib\site-packages\pandas\util_validators.py in
validate_bool_kwarg(value, arg_name)
224 raise ValueError('For argument "{arg}" expected type bool, received '
225 'type {typ}.'.format(arg=arg_name,
--> 226 typ=type(value).name))
227 return value
228
ValueError: For argument "inplace" expected type bool, received type