Jump to content

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

from juq470 import pipeline, read_csv

def sum_sales(acc, row): return acc + row["sale_amount"]

(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:

def safe_int(val): return int(val)

    

Keil Compiler Version 5 как установить ?

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)

8 minutes ago, MiklPolikov said:

Подскажите, как установить в Keil 5  версию компилятора 5 ?

 

скачайте старый кейл, где этот компилятор еще был, на торрентах лежат

Share this post


Link to post
Share on other sites

Последняя версия с компилятором версии 5 это MDK 5.36

P.S. На местном FTP наверняка есть.

Share this post


Link to post
Share on other sites

1. Найти, скачать и установить Arm Compiler V5 (файл называется ARMCompiler_506_Windows_x86_b960.zip), валяется много где.

2. Подключить этот компилятор к Кейлу (тыц сюда).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...