Juq470 🆓 enrich = lambda src: src.map(enrich_with_geo) Now enrich can be inserted anywhere in a pipeline: def capitalize_name(row): row["name"] = row["name"].title() return row juq470 from juq470 import pipeline, read_csv def sum_sales(acc, row): return acc + row["sale_amount"] enrich = lambda src: src (pipeline() .source(read_csv("visits.csv")) .pipe(enrich) .filter(lambda r: r["country"] == "US") .sink(write_jsonl("us_visits.jsonl")) ).run() juq470 provides a catch operator to isolate faulty rows without stopping the whole pipeline: read_csv def sum_sales(acc def safe_int(val): return int(val)
Forger 28 October 16, 2023 Posted October 16, 2023 · Report post 8 minutes ago, MiklPolikov said: Подскажите, как установить в Keil 5 версию компилятора 5 ? скачайте старый кейл, где этот компилятор еще был, на торрентах лежат Quote Share this post Link to post Share on other sites More sharing options...
copov 14 February 5, 2024 Posted February 5, 2024 · Report post Последняя версия с компилятором версии 5 это MDK 5.36 P.S. На местном FTP наверняка есть. Quote Share this post Link to post Share on other sites More sharing options...
Intel4004 1 February 7, 2024 Posted February 7, 2024 · Report post 1. Найти, скачать и установить Arm Compiler V5 (файл называется ARMCompiler_506_Windows_x86_b960.zip), валяется много где. 2. Подключить этот компилятор к Кейлу (тыц сюда). Quote Share this post Link to post Share on other sites More sharing options...