Тёмный

Read CSV Files with Rust CSV Crate 🦀📦 Rust Programming Tutorial for Developers 

Trevor Sullivan
Подписаться 15 тыс.
Просмотров 4 тыс.
50% 1

Reading CSV files is a common need for exchanging data between systems. Although more modern serialization formats are available, such as JSON, some legacy vendor systems still use CSV to this day. Using the open source CSV crate, we can easily read various CSV formats. If you need to customize the behavior of the CSV parser, such as changing the field delimiter, adding CSV headers, or commenting out individual data records, you can use the csv::ReaderBuilder struct to accomplish that. In addition, you can optionally integrate CSV with the serde package to deserialize CSV data rows as Rust struct instances. We'll explore all of these topics in this Rust training video!
🚨📦 Help support this channel - shop through my Amazon storefront!
⬇️⬇️⬇️
www.amazon.com/shop/trevorsul...
⬆️⬆️⬆️
🤯 Rust Programming Playlist 🦀 • Rust Programming Tutor...
📖 Rust std::process module📦➡️ doc.rust-lang.org/std/process...
Visual Studio Code ➡️ code.visualstudio.com
Rust Website ➡️ rust-lang.org
Rustup Installer ➡️ rustup.rs
Rust Docs ➡️ doc.rust-lang.org/book
Please follow me on these other social channels!
➡️ trevorsullivan.net
➡️ github.com/pcgeek86
➡️ / pcgeek86
➡️ / trevorsullivan
➡️ / trevorsoftware
➡️ tiktok.com/pcgeek86
All trademarks, logos and brand names are the property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names,trademarks and brands does not imply endorsement.
#rustlang #rust #rustdev #opensource #software #linux #devops #programming #rusty #dev #coding #codinglife #code #coder #ubuntu #ubuntulinux #appdev #developer

Наука

Опубликовано:

 

26 сен 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@TrevorSullivan
@TrevorSullivan 9 месяцев назад
🚨📦 Help support this channel - shop through my Amazon storefront! ⬇⬇⬇ www.amazon.com/shop/trevorsullivan ⬆⬆⬆
@carlvogel8533
@carlvogel8533 4 месяца назад
Really outstanding - best RDR tutorial I’ve seen
@akaibukai
@akaibukai 9 месяцев назад
Thanks for your videos! This channel is truly underrated!
@krystiankoniuszy3952
@krystiankoniuszy3952 7 месяцев назад
In Europe we separate our partials with comma so American 3.14 would be 3,14 in Europe, so more and more you would find a ";" as divider in csv files. Great video btw!
@sgremm
@sgremm 6 месяцев назад
hi, super video. i have the problem that in the csv file the decimal point is a comma instead of point. i become a ParseFloat(ParseFloatError). pls excuse me my bad english
@TrevorSullivan
@TrevorSullivan 6 месяцев назад
Thank you for your support! You'll probably need to fix the CSV data before you'll be able to read it with the CSV parser in Rust. You'll have to write a script to parse it yourself and then add double quotes around the decimal value. I would probably use PowerShell for this purpose.
@sgremm
@sgremm 6 месяцев назад
thnk you very much, i have write my own Deserialize function and now passed without failure
@TrevorSullivan
@TrevorSullivan 6 месяцев назад
@@sgremm that's an even better idea! Great job! God bless you 🦀
@Hellbending
@Hellbending 5 месяцев назад
Actual tutorial starts at 12:30 Can get raw real world data csv’s via kaggle too
@TrevorSullivan
@TrevorSullivan 5 месяцев назад
Good idea to grab data from Kaggle.
@Hellbending
@Hellbending 5 месяцев назад
@@TrevorSullivan when I was learning pandas (python) I used a couple of them; things like phone purchases based on ages and country or something and top Spotify artists of 2024 - Funnily enough hearing that rust handles data as bytes first - string second was kind of amusing to me because I ran Into a UTF-8 encoding issue with pandas that I had to solve by passing it as bytes anyway lol
Далее
Recycled Car Tyres Get a Second Life! ♻️
00:58
Просмотров 2,8 млн
RUST Project - Read JSON Data
16:06
Просмотров 4,9 тыс.
How to Read Data from Files in Rust
7:45
Просмотров 1,9 тыс.
Rust Time Module and Chrono Crate Intro 🦀
58:39
Просмотров 3,2 тыс.
Self-Host Windmill with Docker on localhost
1:46
Просмотров 2,5 тыс.
Rust for Python data engineers - Karim Jedda
27:30
Просмотров 5 тыс.
Decrusting the serde crate
1:51:21
Просмотров 52 тыс.
Rust's Witchcraft
9:18
Просмотров 173 тыс.
ДЕШЕВЫЙ НОУТБУК C OZON ЗА 17000р
13:00
#miniphone
0:16
Просмотров 3,6 млн