mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
Bump pandas to 0.24 (#7852)
This commit is contained in:
committed by
Maxime Beauchemin
parent
1197d25c3c
commit
f53acd84a7
@@ -27,7 +27,7 @@ import logging
|
||||
|
||||
import numpy as np
|
||||
import pandas as pd
|
||||
from pandas.core.common import _maybe_box_datetimelike
|
||||
from pandas.core.common import maybe_box_datetimelike
|
||||
from pandas.core.dtypes.dtypes import ExtensionDtype
|
||||
|
||||
from superset.utils.core import JS_MAX_INTEGER
|
||||
@@ -109,7 +109,7 @@ class SupersetDataFrame(object):
|
||||
# work around for https://github.com/pandas-dev/pandas/issues/18372
|
||||
data = [
|
||||
dict(
|
||||
(k, _maybe_box_datetimelike(v))
|
||||
(k, maybe_box_datetimelike(v))
|
||||
for k, v in zip(self.df.columns, np.atleast_1d(row))
|
||||
)
|
||||
for row in self.df.values
|
||||
|
||||
Reference in New Issue
Block a user