Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
jinimukh committed Jan 2, 2021
1 parent 4c052e7 commit 4010784
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lux/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from lux.utils.message import Message
from lux.utils.utils import check_import_lux_widget
from typing import Dict, Union, List, Callable

# from lux.executor.Executor import *
import warnings
import traceback
Expand Down
3 changes: 2 additions & 1 deletion lux/utils/date_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import pandas as pd
import lux


def date_formatter(time_stamp, ldf):
"""
Given a numpy timestamp and ldf, inspects which date granularity is appropriate and reformats timestamp accordingly
Expand All @@ -38,7 +39,7 @@ def date_formatter(time_stamp, ldf):
date_str: str
A reformatted version of the time_stamp according to granularity
"""

inverted_data_type = lux.config.executor.invert_data_type(ldf.data_type)
# TODO: method for data_type_lookup to data_type
datetime = pd.to_datetime(time_stamp)
Expand Down

0 comments on commit 4010784

Please sign in to comment.