我正在尝试添加Ag Grid的侧边栏模块,但是我正在努力解决以下问题:
import pandas as pd
import numpy as np
df = pd.DataFrame({"Name": ["Peter", "Joe"], "Number": [1, 2]})
# Raises warning using == to compare different types:
df.loc[df["Number"] == "2", "Number"]
# No warning using .isin:
df.loc[df["Number"].isin(["2"]), "Number"]
但是我正在导入它们:
unable to use Column Tool Panel as module @ag-grid-enterprise/column-tool-panel is not present. Please see: https://www.ag-grid.com/javascript-grid-modules/
at AgGridReact (https://e7fls.csb.app/node_modules/ag-grid-react/lib/agGridReact.js:34:28)
unable to use Filters Tool Panel as module @ag-grid-enterprise/filters-tool-panel is not present. Please see: https://www.ag-grid.com/javascript-grid-modules/
at AgGridReact (https://e7fls.csb.app/node_modules/ag-grid-react/lib/agGridReact.js:34:28)