Skip to content

Commit 9c4893a

Browse files
committed
fix integer column
1 parent ed89fd8 commit 9c4893a

File tree

1 file changed

+1
-4
lines changed
  • bigframes/operations/_matplotlib

1 file changed

+1
-4
lines changed

bigframes/operations/_matplotlib/core.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,7 @@ def _compute_plot_data(self):
104104
# Works around a pandas bug:
105105
# https://github.com/pandas-dev/pandas/commit/45b937d64f6b7b6971856a47e379c7c87af7e00a
106106
c = self.kwargs.get("c", None)
107-
if (
108-
pd.core.dtypes.common.is_integer(c)
109-
and not self.data.columns._holds_integer()
110-
):
107+
if pd.core.dtypes.common.is_integer(c):
111108
c = self.data.columns[c]
112109
if self._is_column_name(c, sample) and sample[c].dtype == dtypes.STRING_DTYPE:
113110
sample[c] = sample[c].astype("object")

0 commit comments

Comments
 (0)