mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com> Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
@@ -35,7 +35,7 @@ def contribution(
|
||||
rename_columns: Optional[List[str]] = None,
|
||||
) -> DataFrame:
|
||||
"""
|
||||
Calculate cell contibution to row/column total for numeric columns.
|
||||
Calculate cell contribution to row/column total for numeric columns.
|
||||
Non-numeric columns will be kept untouched.
|
||||
|
||||
If `columns` are specified, only calculate contributions on selected columns.
|
||||
|
||||
@@ -120,7 +120,7 @@ def prophet( # pylint: disable=too-many-arguments
|
||||
)
|
||||
)
|
||||
freq = PROPHET_TIME_GRAIN_MAP[time_grain]
|
||||
# check type at runtime due to marhsmallow schema not being able to handle
|
||||
# check type at runtime due to marshmallow schema not being able to handle
|
||||
# union types
|
||||
if not isinstance(periods, int) or periods < 0:
|
||||
raise InvalidPostProcessingError(_("Periods must be a whole number"))
|
||||
|
||||
Reference in New Issue
Block a user