You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hey, great job for this package. Is it still being maintained ? I'd like to know before using it in prod.
Also, I believe there is a bug in datamodel.Data. If you pass a dataset_2 that does not contain id_column_name_1 (which seems like a valid case) you will get a ValueError.
To Reproduce
Steps to reproduce the behavior:
import pandas as pd
from pyjedai.datamodel import Data
df1 = pd.DataFrame({'id': [1, 2], 'data': ['a', 'b']})
df2 = pd.DataFrame({'other_id': [1, 2], 'data': ['a', 'b']})
Data(
dataset_1=df1,
id_column_name_1="id",
dataset_2=df2,
id_column_name_2="other_id",
)
--> ValueError
Expected behavior
No ValueError
Additional context
I believe here, it should be self.attributes_2.remove(self.id_column_name_2) instead of self.attributes_2.remove(self.id_column_name_1)
The text was updated successfully, but these errors were encountered:
Hello! Yes it is maintained and will be expanded even more. As for the bug, you're right. Thanks for your trace and detailed report. I fixed it and will be updated asap in the next release.
Feel free to contact me if you need anything else.
Describe the bug
Hey, great job for this package. Is it still being maintained ? I'd like to know before using it in prod.
Also, I believe there is a bug in
datamodel.Data
. If you pass adataset_2
that does not containid_column_name_1
(which seems like a valid case) you will get aValueError
.To Reproduce
Steps to reproduce the behavior:
--> ValueError
Expected behavior
No ValueError
Additional context
I believe here, it should be
self.attributes_2.remove(self.id_column_name_2)
instead ofself.attributes_2.remove(self.id_column_name_1)
The text was updated successfully, but these errors were encountered: