def isblank(value):
    return (
            value is not False
            and value != 0
            and value != float(0)
            and not bool(value)
    )


def concatenate(delimiter=''):
    def _concatenate(row):
        return delimiter.join(row)

    return _concatenate


def nvl(default=''):
    def _nvl(row):
        return next((v for v in row if not isblank(v)), default)

    return _nvl

import pandas as pd

def isblank(value):
    return (
        value is not False
        and value != 0
        and value != float(0)
        and (value is None or pd.isnull(value) or not value)
    )

def concatenate(delimiter=''):
    def _concatenate(row):
        return delimiter.join(row)
    return _concatenate

def nvl(default=''):
    def _nvl(row):
        return next((v for v in row if not isblank(v)), default)
    return _nvl

Revert "DE-1903 - fix isblank() error"
Revert "DE-1903 - fix isblank() error"

This reverts commit 27fd096d9641971f34cb0811fc2240ebc4f3450b.

+ import pandas as pd
+ 
  def isblank(value):
      return (
-             value is not False
+         value is not False
-             and value != 0
+         and value != 0
-             and value != float(0)
+         and value != float(0)
-             and not bool(value)
+         and (value is None or pd.isnull(value) or not value)
      )
- 
  
  def concatenate(delimiter=''):
      def _concatenate(row):
          return delimiter.join(row)
- 
      return _concatenate
- 
  
  def nvl(default=''):
      def _nvl(row):
          return next((v for v in row if not isblank(v)), default)
- 
      return _nvl
  
Revert "DE-1903 - fix isblank() error"
## Code Before:
def isblank(value):
    return (
            value is not False
            and value != 0
            and value != float(0)
            and not bool(value)
    )


def concatenate(delimiter=''):
    def _concatenate(row):
        return delimiter.join(row)

    return _concatenate


def nvl(default=''):
    def _nvl(row):
        return next((v for v in row if not isblank(v)), default)

    return _nvl

## Instruction:
Revert "DE-1903 - fix isblank() error"
## Code After:
import pandas as pd

def isblank(value):
    return (
        value is not False
        and value != 0
        and value != float(0)
        and (value is None or pd.isnull(value) or not value)
    )

def concatenate(delimiter=''):
    def _concatenate(row):
        return delimiter.join(row)
    return _concatenate

def nvl(default=''):
    def _nvl(row):
        return next((v for v in row if not isblank(v)), default)
    return _nvl
