mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 14:57:20 +00:00
comments
This commit is contained in:
parent
5e1323b5bf
commit
d8bbce6f7c
2 changed files with 1 additions and 1 deletions
|
@ -64,6 +64,7 @@ class PandasDataframeDataset(BaseDataset):
|
|||
|
||||
assert self.df is not None, "Dataset loading failed. Please check logs."
|
||||
|
||||
# note that we will drop any columns in dataset that are not in the schema
|
||||
self.df = self.df[self.dataset_def.dataset_schema.keys()]
|
||||
|
||||
# check all columns in dataset schema are present
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue