Skip to content

Commit

Permalink
FIX-#0000: Fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhipengXue97 committed Jul 15, 2024
1 parent 4e7afa7 commit bc9ca74
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions modin/pandas/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@
import re
import warnings
from functools import cached_property
from typing import TYPE_CHECKING, Any, Callable, Hashable, Literal, Optional, Sequence
from typing import (
TYPE_CHECKING,
Any,
Callable,
Hashable,
Literal,
Optional,
Sequence,
Union,
)

import numpy as np
import pandas
Expand Down Expand Up @@ -2147,7 +2156,7 @@ def min(
def _stat_operation(
self,
op_name: str,
axis: int | str,
axis: Optional[Union[int, str]],
skipna: bool,
numeric_only: Optional[bool] = False,
**kwargs,
Expand Down

0 comments on commit bc9ca74

Please sign in to comment.