Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][ADD] sheet_dataframe_process module: convert file to polars dataframe and… #941

Closed
wants to merge 4 commits into from

Conversation

bealdav
Copy link
Member

@bealdav bealdav commented Oct 16, 2024

… process it

image

Based on an imported spreadsheet like file, this module allow to create
Polars dataframe and process them according to rules in order to:

  • display filtered data
  • obtain another dataframe with only the expected data to use in Odoo
  • import data into Odoo TO IMPLEMENT

Why dataframe ?

  • a dataframe is a kind of in-memory dataset on which you can operate
  • you can operates on your entire dataset a bit like with a database but in memory: you don't need to iterate on each line to perform operations
  • the operations are powerful: filter, add column resulting from calculation , select a subset of data

Why Polars ?

  • performance: code in rust
  • environment consideration
  • dynamic project

TODO

  • implement populate in file config
  • check matching columns
  • check matching according to partner
  • raise if required column missing
  • raise if date is invalid

@bealdav bealdav changed the title [ADD] sheet_to_dataframe module: convert file to polars dataframe and… [ADD] sheet_dataframe_process module: convert file to polars dataframe and… Oct 16, 2024
@bealdav bealdav changed the title [ADD] sheet_dataframe_process module: convert file to polars dataframe and… [18.0][ADD] sheet_dataframe_process module: convert file to polars dataframe and… Oct 16, 2024
@bealdav bealdav force-pushed the polars branch 3 times, most recently from c987d3a to 94e3582 Compare October 20, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants