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

docs(rust): Add example of list creation in user guide #20854

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

deanm0000
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added documentation Improvements or additions to documentation rust Related to Rust Polars labels Jan 22, 2025
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.63%. Comparing base (24fccc4) to head (fad5890).
Report is 15 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #20854      +/-   ##
==========================================
- Coverage   79.64%   79.63%   -0.01%     
==========================================
  Files        1571     1567       -4     
  Lines      223156   223044     -112     
  Branches     2546     2554       +8     
==========================================
- Hits       177731   177627     -104     
+ Misses      44841    44832       -9     
- Partials      584      585       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

use chrono::prelude::*;
use polars::prelude::*;
let df = DataFrame::new(vec![
Series::from_any_values(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really sure what the preferred or recommended way is to create Lists and Arrays in rust. I found the get_list_builder function but I went with this approach since it's not as busy. Is there an easier way?

@deanm0000 deanm0000 marked this pull request as ready for review January 23, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant