Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
LaihoE committed Feb 28, 2024
1 parent d8f7afa commit c684f5f
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/python/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1123,21 +1123,7 @@ fn to_py_u64_col(pairs: &Vec<&EventField>, _name: &String, py: Python) -> DataFr
}
DataFrameColumn::Pyany(v.to_object(py))
}
/*
fn to_py_sticker_col(pairs: &Vec<&EventField>, _name: &String, py: Python) -> DataFrameColumn {
let mut v = vec![];
for pair in pairs {
match &pair.data {
Some(k) => match k {
Variant::Stickers(val) => v.push(Some(val.clone())),
_ => v.push(None),
},
None => v.push(None),
}
}
DataFrameColumn::Pyany(v.to_object(py))
}
*/

fn to_string_series(pairs: &Vec<&EventField>, name: &String) -> DataFrameColumn {
let mut v = vec![];
for pair in pairs {
Expand Down

0 comments on commit c684f5f

Please sign in to comment.