whylabs/whylogs-python

View on GitHub
python/whylogs/core/preprocessing.py

Summary

Maintainability
D
2 days
Test Coverage

Try, Except, Pass detected.
Open

except:  # noqa

Function apply has a Cognitive Complexity of 29 (exceeds 5 allowed). Consider refactoring.
Open

    def apply(data: Any) -> "PreprocessedColumn":
        result = PreprocessedColumn()
        result.original = data
        if pd.Series is not None and isinstance(data, pd.Series):
            result._pandas_split(data)
Severity: Minor
Found in python/whylogs/core/preprocessing.py - About 4 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function _process_scalar_value has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring.
Open

    def _process_scalar_value(value: Any) -> "PreprocessedColumn":
        result = PreprocessedColumn()
        result.original = value
        result.len = 1
        int_list = []
Severity: Minor
Found in python/whylogs/core/preprocessing.py - About 3 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function _pandas_split has a Cognitive Complexity of 20 (exceeds 5 allowed). Consider refactoring.
Open

    def _pandas_split(self, series: pd.Series, parse_numeric_string: bool = False) -> None:
        """
        Split a Pandas Series into numpy array and other Pandas series.

        Args:
Severity: Minor
Found in python/whylogs/core/preprocessing.py - About 2 hrs to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function _process_homogeneous_column has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
Open

    def _process_homogeneous_column(series: pd.Series) -> "PreprocessedColumn":
        """
        Column must be of homogeneous type. NaN, None, other missing data not allowed.
        """

Severity: Minor
Found in python/whylogs/core/preprocessing.py - About 1 hr to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Avoid too many return statements within this function.
Open

            return
Severity: Major
Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return
    Severity: Major
    Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return result
      Severity: Major
      Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return PreprocessedColumn.apply(list_format)
        Severity: Major
        Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return PreprocessedColumn.apply(list_format)
          Severity: Major
          Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return result
            Severity: Major
            Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return result
              Severity: Major
              Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return result
                Severity: Major
                Found in python/whylogs/core/preprocessing.py - About 30 mins to fix

                  Function len has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                  Open

                      def len(self) -> int:
                          length = 0
                          if self.ints is not None:
                              length += len(self.ints)
                          if self.floats is not None:
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py - About 25 mins to fix

                  Cognitive Complexity

                  Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                  A method's cognitive complexity is based on a few simple rules:

                  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                  • Code is considered more complex for each "break in the linear flow of the code"
                  • Code is considered more complex when "flow breaking structures are nested"

                  Further reading

                  TODO found
                  Open

                      # TODO: other data sources such as Apache Arrow here
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by fixme

                  TODO found
                  Open

                          # TODO: Do we want to parse numeric strings inside of tensors?
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by fixme

                  Line too long (96 > 79 characters)
                  Open

                              lambda x: isinstance(x, (list, np.ndarray)) and PreprocessedColumn._is_tensorable(x)
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (82 > 79 characters)
                  Open

                          elif isinstance(value, list) and PreprocessedColumn._is_tensorable(value):
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (96 > 79 characters)
                  Open

                          elif isinstance(value, (list, np.ndarray)) and PreprocessedColumn._is_tensorable(value):
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (85 > 79 characters)
                  Open

                          # this fixes a bug where empty columns produce masks of types other than bool
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (113 > 79 characters)
                  Open

                          int_mask = non_null_series.apply(lambda x: pdc.is_number(x) and pdc.is_integer(x) and not pdc.is_bool(x))
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (105 > 79 characters)
                  Open

                          int_types: Union[type, Tuple[type, type]] = (int, np.integer) if is_not_stub(np.integer) else int
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (86 > 79 characters)
                  Open

                          if pdc.is_numeric_dtype(series.dtype) and not pdc.is_bool_dtype(series.dtype):
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (82 > 79 characters)
                  Open

                          # checking on the first value of the column. It assumes all the values are
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (82 > 79 characters)
                  Open

                          elif is_not_stub(np.ndarray) and PreprocessedColumn._is_tensorable(value):
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (90 > 79 characters)
                  Open

                          float_mask = non_null_series.apply(lambda x: pdc.is_float(x) or pdc.is_decimal(x))
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (81 > 79 characters)
                  Open

                          # This code path is faster than _pandas_split() because it only does type
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (80 > 79 characters)
                  Open

                                  return PreprocessedColumn.apply(pd.Series(data, dtype="object"))
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (111 > 79 characters)
                  Open

                              parse_numeric_string: if set, this will coerce values into integer using pands.to_numeric() method.
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (113 > 79 characters)
                  Open

                              SplitSeries with multiple values, including numpy arrays for numbers, and strings as a Pandas Series.
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (103 > 79 characters)
                  Open

                          logger.info(f"Warning single value passed as column data, wrapping type: {type(data)} in list")
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (86 > 79 characters)
                  Open

                          if pdc.is_numeric_dtype(series.dtype) and not pdc.is_bool_dtype(series.dtype):
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (88 > 79 characters)
                  Open

                                  elif isinstance(x, np.ndarray) and PreprocessedColumn._is_tensorable(x):
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (113 > 79 characters)
                  Open

                                  "Materializing an Iterable or Iterator into a list for processing. This could cause memory issue"
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (83 > 79 characters)
                  Open

                          for lst in [self.ints, self.floats, self.strings, self.tensors, self.objs]:
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (91 > 79 characters)
                  Open

                      def _pandas_split(self, series: pd.Series, parse_numeric_string: bool = False) -> None:
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (113 > 79 characters)
                  Open

                          tensors = pd.Series([x if isinstance(x, np.ndarray) else np.asarray(x) for x in tensors], dtype="object")
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (93 > 79 characters)
                  Open

                          objs = non_null_series[~(float_mask | str_mask | int_mask | bool_mask | tensor_mask)]
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (98 > 79 characters)
                  Open

                      We also track the null count and ensure that processed lists/Series don't contain null values.
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (95 > 79 characters)
                  Open

                                  result.list = ListView(strings=string_list, tensors=tensor_list, objs=obj_list)
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (105 > 79 characters)
                  Open

                                  ints=int_list, floats=float_list, strings=string_list, tensors=tensor_list, objs=obj_list
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (86 > 79 characters)
                  Open

                          Column must be of homogeneous type. NaN, None, other missing data not allowed.
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (109 > 79 characters)
                  Open

                                      ints=int_list, floats=float_list, strings=string_list, tensors=tensor_list, objs=obj_list
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (91 > 79 characters)
                  Open

                              result.list = ListView(strings=string_list, tensors=tensor_list, objs=obj_list)
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (84 > 79 characters)
                  Open

                          bool_mask_where_true = non_null_series.apply(lambda x: pdc.is_bool(x) and x)
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (82 > 79 characters)
                  Open

                                  result.pandas.tensors = pd.Series([np.asarray(x) for x in series])
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (84 > 79 characters)
                  Open

                          maybe_tensor = value if isinstance(value, np.ndarray) else np.asarray(value)
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  Line too long (82 > 79 characters)
                  Open

                                  elif isinstance(x, list) and PreprocessedColumn._is_tensorable(x):
                  Severity: Minor
                  Found in python/whylogs/core/preprocessing.py by pep8

                  Limit all lines to a maximum of 79 characters.

                  There are still many devices around that are limited to 80 character
                  lines; plus, limiting windows to 80 characters makes it possible to
                  have several windows side-by-side.  The default wrapping on such
                  devices looks ugly.  Therefore, please limit all lines to a maximum
                  of 79 characters. For flowing long blocks of text (docstrings or
                  comments), limiting the length to 72 characters is recommended.
                  
                  Reports error E501.

                  There are no issues that match your filters.

                  Category
                  Status