https://github.com/pandas-dev/pandas/pull/18982#issuecomment-354452699 also remove direct calling of ``lib.isscalar`` directly, rather it should be called from ``pandas.core.dtypes.common`` like all other inference functions.