original_docstring: 
      Return True if value is a type we expect in a dataframe
      
docstring: Return True if value is a type we expect in a dataframe
docstring_tokens: Return True if value is a type we expect in a dataframe
code: def is_known_scalar(value):
      """
      Return True if value is a type we expect in a dataframe
      """
      def _is_datetime_or_timedelta(value):
          # Using pandas.Series helps catch python, numpy and pandas
          # versions of these types
          return pd.Series(value).dtype.kind in ('M', 'm')
  
      return not np.iterable(value) and (isinstance(value, numbers.Number) or
                                         _is_datetime_or_timedelta(value))
code_tokens: def is_known_scalar ( value ) : def _is_datetime_or_timedelta ( value ) : return pd . Series ( value ) . dtype . kind in ( 'M' , 'm' ) return not np . iterable ( value ) and ( isinstance ( value , numbers . Number ) or _is_datetime_or_timedelta ( value ) )
short_docstring: Return True if value is a type we expect in a dataframe
short_docstring_tokens: Return True if value is a type we expect in a dataframe
comment: """
      Return True if value is a type we expect in a dataframe
      """$SEP$# Using pandas.Series helps catch python, numpy and pandas$SEP$# versions of these types