Skip to content

Commit

Permalink
Update panel/reactive.py
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Høxbro Hansen <simon.hansen@me.com>
  • Loading branch information
philippjfr and hoxbro authored Sep 16, 2022
1 parent b2abfa5 commit 51c7c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/reactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ def _convert_column(
converted = new_values
elif 'pandas' in sys.modules:
import pandas as pd
if Version(pd.__version__) >= '1.1.0':
if Version(pd.__version__) >= Version('1.1.0'):
from pandas.core.arrays.masked import BaseMaskedDtype
if isinstance(dtype, BaseMaskedDtype):
values = [dtype.na_value if v == '<NA>' else v for v in values]
Expand Down

0 comments on commit 51c7c7a

Please sign in to comment.