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
The text was updated successfully, but these errors were encountered:
vitaliknet
changed the title
Transformer in columnIndex with MultiIndex is broken in 1.4.0
Transform on columnIndex with MultiIndex is broken in 1.4.0
Dec 17, 2024
It appears after 1.4.0 transform refactoring the following code no longer works.
dg_ind.transform([{'type': 'filter', 'columnIndex': 1, 'operator': 'in',
'value': ['A', 'AA']
}])
dg_ind.data.index
MultiIndex([('2024-12-16 00:00:00+00:00', 'A'),
('2024-12-16 00:00:00+00:00', 'AA'),
...
('2024-12-16 00:00:00+00:00', 'ZZZ')],
names=[('date', ''), ('ticker', '')], length=8965)
Something like below does not work either.
dg_ind.transform([{'type': 'filter', 'column': ('ticker', ''), 'operator': 'in',
'value': ['A', 'AA']
}])
The text was updated successfully, but these errors were encountered: