Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 6, 2022
1 parent 39f4c95 commit 19f5082
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion flash/tabular/classification/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
from flash.core.data.utilities.classification import TargetFormatter
from flash.core.utilities.imports import _PANDAS_AVAILABLE, _TABULAR_TESTING
from flash.core.utilities.stages import RunningStage
from flash.tabular.classification.input import TabularClassificationCSVInput, TabularClassificationDataFrameInput, TabularClassificationListInput
from flash.tabular.classification.input import (
TabularClassificationCSVInput,
TabularClassificationDataFrameInput,
TabularClassificationListInput,
)
from flash.tabular.data import TabularData

if _PANDAS_AVAILABLE:
Expand Down Expand Up @@ -331,6 +335,7 @@ def from_dict(
) -> "TabularClassificationData":
"""Creates a :class:`~flash.tabular.classification.data.TabularClassificationData` object from the given
lists.
.. note::
The ``categorical_fields``, ``numerical_fields``, and ``target_fields`` do not need to be provided if
``parameters`` are passed instead. These can be obtained from the
Expand Down

0 comments on commit 19f5082

Please sign in to comment.