-
Notifications
You must be signed in to change notification settings - Fork 14
EDA 2 - typy a operace #23
Conversation
|
Check out this pull request on You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB. |
| @@ -0,0 +1,6941 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Asi by som to trocha preformuloval, aby bolo jasnejší zámer - nie že to nie je praktické, len sa to využíva skôr v špecifických prípadoch (ak to teda zámer bol :-D).
Napáda mi nasledovné:
- Nechať len "Pro hodnoty nového sloupce lze použít i jednu skalární hodnotu:"
- Nechať to, čo v prípade 1, len na koniec pridať "v praxi sa s touto potrebou nestretneme tak často" alebo niečo podobné.
Reply via ReviewNB
| @@ -0,0 +1,6941 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ako dobrá pomôcka pre začiatočníkov mi príde , že:
-
axis=0sa tiež dá napísať akoaxis='index'aleboaxis='rows'. axis=1akoaxis='columns'.
Dokumentácia tvrdí, že funguje pre všetky pandas funkcie s týmto argumentom, ale našiel som nejakú, kde to nešlo (už si ale nespomeniem).
A keďže sme v pandas, tak df.mean(axis='rows') vracia priemer za jednotlivé stĺpce a df.mean(axis='columns') za jednotlivé riadky. Axis tu špecifikuje, po ktorej ose sa priemer počíta - logicky :-D.
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Today I learnt ;-)
| @@ -0,0 +1,6941 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @@ -0,0 +1,6941 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @@ -0,0 +1,6941 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pentagram ti nestačí?
| @@ -0,0 +1,6941 @@ | |||
| { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Místo set_index dát výš - je myslím trochu matoucí jestli to neptří k sort_index
Reply via ReviewNB
|
Za mě hodně povedené, v angličtině by to klidně mohlo doplnit oficiální Pandas docs :) Bude to náročné na čas, řekl bych že při výuce bude potřeba něco schovat na samostudium. Pokud se to zvládne, tak dostatek materiálu na doma je určitě super! |
|
Co ještě přidat?
|
používá, ale asi není nutné vysvětlit tady |
|
Zavírám ve prospěch #36 |
* EDA2: before applying comments * Zapracování komentářů z #23 * Zapracování poznámek k typům * Zapracování poznámek k vizualizacím * info.yml pro EDA2 * Drobné příklady pro EDA2 (první část) * Vizualizace - úkoly * info.yml pro vizualizace * Přidání EDA 2 do definice runu * Fix: špatně cesta k vizualizace * Několik zapracovaných změn * Zapracovány Ondřejovy poznámky * EDA 2: odkazy na metody a stahování ve vizualizacích * Zapracování Ondřejových poznámek k vizualizaci + few small fixes * Update lesson titles
Druhá lekce Pražské EDA:
Měla by se skládat ze dvou notebooků.
Tento, delší, pojednává o manipulaci s DF, typech, aritmetice, filtrování a řazení.
Druhý, kratší, bude o základech vizualizace a objeví se co nevidět v tomto pull requestu.
Prosím o kritiku.