Skip to content

Commit 0d62feb

Browse files
author
Bruno Goncalves
committed
updated notebooks
1 parent 8cd8c49 commit 0d62feb

10 files changed

+1266
-703
lines changed

Diff for: 1. Pitfalls.ipynb

+204-169
Large diffs are not rendered by default.

Diff for: 2. Pandas DataFrames.ipynb

+429-188
Large diffs are not rendered by default.

Diff for: 3. Simple Data Modeling.ipynb

+517-289
Large diffs are not rendered by default.

Diff for: 4. Basic Excel Spreadsheets.ipynb

+70-40
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,19 @@
5959
"\n",
6060
"Compiler : Clang 10.0.0 \n",
6161
"OS : Darwin\n",
62-
"Release : 21.4.0\n",
62+
"Release : 21.6.0\n",
6363
"Machine : x86_64\n",
6464
"Processor : i386\n",
6565
"CPU cores : 16\n",
6666
"Architecture: 64bit\n",
6767
"\n",
68-
"Git hash: 15de955aafec6081e8f52615cf18b3f0d2b1136d\n",
68+
"Git hash: 8cd8c4969f6d4b5f0dbf5d55746efe085989b1e3\n",
6969
"\n",
70-
"json : 2.0.9\n",
71-
"numpy : 1.19.2\n",
7270
"pandas : 1.1.3\n",
7371
"watermark : 2.1.0\n",
72+
"json : 2.0.9\n",
7473
"matplotlib: 3.3.2\n",
74+
"numpy : 1.19.2\n",
7575
"openpyxl : 3.0.5\n",
7676
"\n"
7777
]
@@ -317,6 +317,27 @@
317317
"cell_type": "code",
318318
"execution_count": 14,
319319
"metadata": {},
320+
"outputs": [
321+
{
322+
"data": {
323+
"text/plain": [
324+
"array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,\n",
325+
" 17, 18, 19])"
326+
]
327+
},
328+
"execution_count": 14,
329+
"metadata": {},
330+
"output_type": "execute_result"
331+
}
332+
],
333+
"source": [
334+
"np.arange(20)"
335+
]
336+
},
337+
{
338+
"cell_type": "code",
339+
"execution_count": 15,
340+
"metadata": {},
320341
"outputs": [
321342
{
322343
"data": {
@@ -333,7 +354,7 @@
333354
" [18, 19]])"
334355
]
335356
},
336-
"execution_count": 14,
357+
"execution_count": 15,
337358
"metadata": {},
338359
"output_type": "execute_result"
339360
}
@@ -344,7 +365,7 @@
344365
},
345366
{
346367
"cell_type": "code",
347-
"execution_count": 15,
368+
"execution_count": 16,
348369
"metadata": {},
349370
"outputs": [],
350371
"source": [
@@ -354,7 +375,7 @@
354375
},
355376
{
356377
"cell_type": "code",
357-
"execution_count": 16,
378+
"execution_count": 17,
358379
"metadata": {},
359380
"outputs": [
360381
{
@@ -363,7 +384,7 @@
363384
"'A3:B13'"
364385
]
365386
},
366-
"execution_count": 16,
387+
"execution_count": 17,
367388
"metadata": {},
368389
"output_type": "execute_result"
369390
}
@@ -381,7 +402,7 @@
381402
},
382403
{
383404
"cell_type": "code",
384-
"execution_count": 17,
405+
"execution_count": 18,
385406
"metadata": {},
386407
"outputs": [],
387408
"source": [
@@ -390,7 +411,7 @@
390411
},
391412
{
392413
"cell_type": "code",
393-
"execution_count": 18,
414+
"execution_count": 19,
394415
"metadata": {},
395416
"outputs": [],
396417
"source": [
@@ -406,7 +427,7 @@
406427
},
407428
{
408429
"cell_type": "code",
409-
"execution_count": 19,
430+
"execution_count": 20,
410431
"metadata": {},
411432
"outputs": [],
412433
"source": [
@@ -422,7 +443,7 @@
422443
},
423444
{
424445
"cell_type": "code",
425-
"execution_count": 20,
446+
"execution_count": 21,
426447
"metadata": {},
427448
"outputs": [
428449
{
@@ -431,7 +452,7 @@
431452
"['My Data']"
432453
]
433454
},
434-
"execution_count": 20,
455+
"execution_count": 21,
435456
"metadata": {},
436457
"output_type": "execute_result"
437458
}
@@ -449,7 +470,7 @@
449470
},
450471
{
451472
"cell_type": "code",
452-
"execution_count": 21,
473+
"execution_count": 22,
453474
"metadata": {},
454475
"outputs": [],
455476
"source": [
@@ -465,7 +486,7 @@
465486
},
466487
{
467488
"cell_type": "code",
468-
"execution_count": 22,
489+
"execution_count": 23,
469490
"metadata": {},
470491
"outputs": [
471492
{
@@ -493,7 +514,7 @@
493514
},
494515
{
495516
"cell_type": "code",
496-
"execution_count": 23,
517+
"execution_count": 24,
497518
"metadata": {},
498519
"outputs": [
499520
{
@@ -528,7 +549,7 @@
528549
},
529550
{
530551
"cell_type": "code",
531-
"execution_count": 24,
552+
"execution_count": 25,
532553
"metadata": {},
533554
"outputs": [],
534555
"source": [
@@ -537,7 +558,7 @@
537558
},
538559
{
539560
"cell_type": "code",
540-
"execution_count": 25,
561+
"execution_count": 26,
541562
"metadata": {},
542563
"outputs": [
543564
{
@@ -546,7 +567,7 @@
546567
"['My analysis', 'My Data']"
547568
]
548569
},
549-
"execution_count": 25,
570+
"execution_count": 26,
550571
"metadata": {},
551572
"output_type": "execute_result"
552573
}
@@ -557,7 +578,7 @@
557578
},
558579
{
559580
"cell_type": "code",
560-
"execution_count": 26,
581+
"execution_count": 27,
561582
"metadata": {},
562583
"outputs": [
563584
{
@@ -566,7 +587,7 @@
566587
"<Worksheet \"My analysis\">"
567588
]
568589
},
569-
"execution_count": 26,
590+
"execution_count": 27,
570591
"metadata": {},
571592
"output_type": "execute_result"
572593
}
@@ -577,7 +598,7 @@
577598
},
578599
{
579600
"cell_type": "code",
580-
"execution_count": 27,
601+
"execution_count": 28,
581602
"metadata": {},
582603
"outputs": [],
583604
"source": [
@@ -594,7 +615,7 @@
594615
},
595616
{
596617
"cell_type": "code",
597-
"execution_count": 28,
618+
"execution_count": 29,
598619
"metadata": {},
599620
"outputs": [],
600621
"source": [
@@ -603,7 +624,7 @@
603624
},
604625
{
605626
"cell_type": "code",
606-
"execution_count": 29,
627+
"execution_count": 30,
607628
"metadata": {},
608629
"outputs": [],
609630
"source": [
@@ -619,7 +640,7 @@
619640
},
620641
{
621642
"cell_type": "code",
622-
"execution_count": 30,
643+
"execution_count": 31,
623644
"metadata": {},
624645
"outputs": [],
625646
"source": [
@@ -628,7 +649,7 @@
628649
},
629650
{
630651
"cell_type": "code",
631-
"execution_count": 31,
652+
"execution_count": 32,
632653
"metadata": {},
633654
"outputs": [
634655
{
@@ -637,7 +658,7 @@
637658
"['1900s', '2000s', '2010s', '3000s']"
638659
]
639660
},
640-
"execution_count": 31,
661+
"execution_count": 32,
641662
"metadata": {},
642663
"output_type": "execute_result"
643664
}
@@ -648,7 +669,7 @@
648669
},
649670
{
650671
"cell_type": "code",
651-
"execution_count": 32,
672+
"execution_count": 33,
652673
"metadata": {},
653674
"outputs": [],
654675
"source": [
@@ -657,7 +678,7 @@
657678
},
658679
{
659680
"cell_type": "code",
660-
"execution_count": 33,
681+
"execution_count": 34,
661682
"metadata": {},
662683
"outputs": [
663684
{
@@ -666,7 +687,7 @@
666687
"['1900s', '2000s', '2010s']"
667688
]
668689
},
669-
"execution_count": 33,
690+
"execution_count": 34,
670691
"metadata": {},
671692
"output_type": "execute_result"
672693
}
@@ -677,7 +698,7 @@
677698
},
678699
{
679700
"cell_type": "code",
680-
"execution_count": 34,
701+
"execution_count": 35,
681702
"metadata": {},
682703
"outputs": [],
683704
"source": [
@@ -686,7 +707,7 @@
686707
},
687708
{
688709
"cell_type": "code",
689-
"execution_count": 35,
710+
"execution_count": 36,
690711
"metadata": {},
691712
"outputs": [],
692713
"source": [
@@ -702,7 +723,16 @@
702723
},
703724
{
704725
"cell_type": "code",
705-
"execution_count": 36,
726+
"execution_count": 37,
727+
"metadata": {},
728+
"outputs": [],
729+
"source": [
730+
"?openpyxl.load_workbook"
731+
]
732+
},
733+
{
734+
"cell_type": "code",
735+
"execution_count": 38,
706736
"metadata": {},
707737
"outputs": [
708738
{
@@ -720,7 +750,7 @@
720750
},
721751
{
722752
"cell_type": "code",
723-
"execution_count": 37,
753+
"execution_count": 39,
724754
"metadata": {},
725755
"outputs": [
726756
{
@@ -729,7 +759,7 @@
729759
"['Excel Amortization Schedule']"
730760
]
731761
},
732-
"execution_count": 37,
762+
"execution_count": 39,
733763
"metadata": {},
734764
"output_type": "execute_result"
735765
}
@@ -740,7 +770,7 @@
740770
},
741771
{
742772
"cell_type": "code",
743-
"execution_count": 38,
773+
"execution_count": 40,
744774
"metadata": {},
745775
"outputs": [],
746776
"source": [
@@ -749,7 +779,7 @@
749779
},
750780
{
751781
"cell_type": "code",
752-
"execution_count": 39,
782+
"execution_count": 41,
753783
"metadata": {},
754784
"outputs": [
755785
{
@@ -758,7 +788,7 @@
758788
"'B3:K376'"
759789
]
760790
},
761-
"execution_count": 39,
791+
"execution_count": 41,
762792
"metadata": {},
763793
"output_type": "execute_result"
764794
}
@@ -776,7 +806,7 @@
776806
},
777807
{
778808
"cell_type": "code",
779-
"execution_count": 40,
809+
"execution_count": 42,
780810
"metadata": {},
781811
"outputs": [
782812
{
@@ -824,7 +854,7 @@
824854
},
825855
{
826856
"cell_type": "code",
827-
"execution_count": 41,
857+
"execution_count": 43,
828858
"metadata": {},
829859
"outputs": [
830860
{

0 commit comments

Comments
 (0)