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
Assigning one column of a FlexTable to another new column breaks the filter! function with a cryptic error message. I discovered that the new column shares the same memory as the old column, so that when filter! parses the new column, it is already deleted.
Minimal Working Example:
using TypedTables
data = FlexTable(x=[1,2,3])
data.y = data.x
filter!(r->r.x<3, data)
Trying your example with "Table" yields the same error. Once I discovered the cause of the error, it was fairly easy to fix it using the copy trick you mention; however it took me a long time to realize this was the root cause. Maybe the solution is simply documentation? Or throwing an error in the filter! function when this is detected to get a better error message?
Assigning one column of a FlexTable to another new column breaks the
filter!
function with a cryptic error message. I discovered that the new column shares the same memory as the old column, so that whenfilter!
parses the new column, it is already deleted.Minimal Working Example:
Error:
The text was updated successfully, but these errors were encountered: