Skip to content

Commit

Permalink
Fix cast when using colums param
Browse files Browse the repository at this point in the history
  • Loading branch information
argenisleon committed Nov 6, 2019
1 parent 7a3c113 commit 7ba0b9c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions optimus/dataframe/columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,6 @@ def cast(input_cols=None, dtype=None, output_cols=None, columns=None):
:return: Spark DataFrame
"""

if dtype is None:
RaiseIt.value_error(dtype, "datatype")

_dtype = []
# Parse params
if columns is None:
Expand Down

0 comments on commit 7ba0b9c

Please sign in to comment.