Refactor rarely changing engine state into its own struct (#3612)

* WIP

* Finish up EngineState refactor

* Fix Windows calls

* Fix Windows calls

* Fix Windows calls
This commit is contained in:
JT
2021-06-14 15:19:12 +12:00
committed by GitHub
parent 774be79321
commit de99e35106
22 changed files with 133 additions and 93 deletions

View File

@ -134,6 +134,7 @@ impl NuDataFrame {
from_parsed_columns(column_values, tag)
}
#[allow(clippy::clippy::wrong_self_convention)]
pub fn to_value(self, tag: Tag) -> Value {
Value {
value: UntaggedValue::DataFrame(PolarsData::EagerDataFrame(self)),

View File

@ -97,6 +97,7 @@ impl NuSeries {
from_parsed_vector(vec_values, name)
}
#[allow(clippy::clippy::wrong_self_convention)]
pub fn to_value(self, tag: Tag) -> Value {
Value {
value: UntaggedValue::DataFrame(PolarsData::Series(self)),