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

Tweaks warning message from pandas index check #213

Merged
merged 1 commit into from
Oct 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion hamilton/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def check_pandas_index_types_match(
logger.warning(
"It appears no Pandas index type was detected. This will likely break when trying to "
"create a DataFrame. E.g. are you requesting all scalar values? Use a different result "
"builder or return at least one Pandas object with an index."
"builder or return at least one Pandas object with an index. "
"Ignore this warning if you're using DASK for now."
)
types_match = False
if logger.isEnabledFor(logging.DEBUG):
Expand Down