|
30 | 30 | },
|
31 | 31 | {
|
32 | 32 | "cell_type": "code",
|
33 |
| - "execution_count": 1, |
| 33 | + "execution_count": 2, |
34 | 34 | "metadata": {
|
35 | 35 | "ExecuteTime": {
|
36 |
| - "end_time": "2023-11-15T16:02:04.068436300Z", |
37 |
| - "start_time": "2023-11-15T16:02:04.053114200Z" |
| 36 | + "end_time": "2023-11-17T01:06:31.770445700Z", |
| 37 | + "start_time": "2023-11-17T01:06:31.745630600Z" |
38 | 38 | }
|
39 | 39 | },
|
40 | 40 | "outputs": [],
|
|
600 | 600 | },
|
601 | 601 | {
|
602 | 602 | "cell_type": "code",
|
603 |
| - "execution_count": 21, |
604 |
| - "metadata": {}, |
| 603 | + "execution_count": 3, |
| 604 | + "metadata": { |
| 605 | + "ExecuteTime": { |
| 606 | + "end_time": "2023-11-17T01:06:46.790591300Z", |
| 607 | + "start_time": "2023-11-17T01:06:46.289664200Z" |
| 608 | + } |
| 609 | + }, |
605 | 610 | "outputs": [
|
606 | 611 | {
|
607 | 612 | "data": {
|
608 |
| - "text/plain": [ |
609 |
| - "('movies.csv', <http.client.HTTPMessage at 0x10fee00f0>)" |
610 |
| - ] |
| 613 | + "text/plain": "('movies.csv', <http.client.HTTPMessage at 0x264400ceba0>)" |
611 | 614 | },
|
612 |
| - "execution_count": 21, |
| 615 | + "execution_count": 3, |
613 | 616 | "metadata": {},
|
614 | 617 | "output_type": "execute_result"
|
615 | 618 | }
|
|
629 | 632 | },
|
630 | 633 | {
|
631 | 634 | "cell_type": "code",
|
632 |
| - "execution_count": 22, |
633 |
| - "metadata": {}, |
| 635 | + "execution_count": 4, |
| 636 | + "metadata": { |
| 637 | + "ExecuteTime": { |
| 638 | + "end_time": "2023-11-17T01:07:09.958624300Z", |
| 639 | + "start_time": "2023-11-17T01:07:09.910768Z" |
| 640 | + } |
| 641 | + }, |
634 | 642 | "outputs": [],
|
635 | 643 | "source": [
|
636 | 644 | "Movie = namedtuple('Movie', 'title year score')"
|
|
645 | 653 | },
|
646 | 654 | {
|
647 | 655 | "cell_type": "code",
|
648 |
| - "execution_count": 23, |
649 |
| - "metadata": {}, |
| 656 | + "execution_count": 5, |
| 657 | + "metadata": { |
| 658 | + "ExecuteTime": { |
| 659 | + "end_time": "2023-11-17T01:09:29.726516600Z", |
| 660 | + "start_time": "2023-11-17T01:09:29.724008300Z" |
| 661 | + } |
| 662 | + }, |
650 | 663 | "outputs": [],
|
651 | 664 | "source": [
|
652 | 665 | "def get_movies_by_director(data=movies_csv):\n",
|
|
671 | 684 | },
|
672 | 685 | {
|
673 | 686 | "cell_type": "code",
|
674 |
| - "execution_count": 24, |
675 |
| - "metadata": {}, |
| 687 | + "execution_count": 6, |
| 688 | + "metadata": { |
| 689 | + "ExecuteTime": { |
| 690 | + "end_time": "2023-11-17T01:09:47.390147900Z", |
| 691 | + "start_time": "2023-11-17T01:09:47.326915600Z" |
| 692 | + } |
| 693 | + }, |
676 | 694 | "outputs": [],
|
677 | 695 | "source": [
|
678 | 696 | "directors = get_movies_by_director()"
|
|
687 | 705 | },
|
688 | 706 | {
|
689 | 707 | "cell_type": "code",
|
690 |
| - "execution_count": 25, |
691 |
| - "metadata": {}, |
| 708 | + "execution_count": 7, |
| 709 | + "metadata": { |
| 710 | + "ExecuteTime": { |
| 711 | + "end_time": "2023-11-17T01:10:09.726082200Z", |
| 712 | + "start_time": "2023-11-17T01:10:09.703105300Z" |
| 713 | + } |
| 714 | + }, |
692 | 715 | "outputs": [
|
693 | 716 | {
|
694 | 717 | "data": {
|
695 |
| - "text/plain": [ |
696 |
| - "[Movie(title='The Dark Knight Rises', year=2012, score=8.5),\n", |
697 |
| - " Movie(title='The Dark Knight', year=2008, score=9.0),\n", |
698 |
| - " Movie(title='Interstellar', year=2014, score=8.6),\n", |
699 |
| - " Movie(title='Inception', year=2010, score=8.8),\n", |
700 |
| - " Movie(title='Batman Begins', year=2005, score=8.3),\n", |
701 |
| - " Movie(title='Insomnia', year=2002, score=7.2),\n", |
702 |
| - " Movie(title='The Prestige', year=2006, score=8.5),\n", |
703 |
| - " Movie(title='Memento', year=2000, score=8.5)]" |
704 |
| - ] |
| 718 | + "text/plain": "[Movie(title='The Dark Knight Rises', year=2012, score=8.5),\n Movie(title='The Dark Knight', year=2008, score=9.0),\n Movie(title='Interstellar', year=2014, score=8.6),\n Movie(title='Inception', year=2010, score=8.8),\n Movie(title='Batman Begins', year=2005, score=8.3),\n Movie(title='Insomnia', year=2002, score=7.2),\n Movie(title='The Prestige', year=2006, score=8.5),\n Movie(title='Memento', year=2000, score=8.5)]" |
705 | 719 | },
|
706 |
| - "execution_count": 25, |
| 720 | + "execution_count": 7, |
707 | 721 | "metadata": {},
|
708 | 722 | "output_type": "execute_result"
|
709 | 723 | }
|
|
725 | 739 | },
|
726 | 740 | {
|
727 | 741 | "cell_type": "code",
|
728 |
| - "execution_count": 26, |
729 |
| - "metadata": {}, |
| 742 | + "execution_count": 8, |
| 743 | + "metadata": { |
| 744 | + "ExecuteTime": { |
| 745 | + "end_time": "2023-11-17T01:11:18.955661900Z", |
| 746 | + "start_time": "2023-11-17T01:11:18.939176400Z" |
| 747 | + } |
| 748 | + }, |
730 | 749 | "outputs": [
|
731 | 750 | {
|
732 | 751 | "data": {
|
733 |
| - "text/plain": [ |
734 |
| - "[('Steven Spielberg', 26),\n", |
735 |
| - " ('Woody Allen', 22),\n", |
736 |
| - " ('Martin Scorsese', 20),\n", |
737 |
| - " ('Clint Eastwood', 20),\n", |
738 |
| - " ('Ridley Scott', 17)]" |
739 |
| - ] |
| 752 | + "text/plain": "[('Steven Spielberg', 26),\n ('Woody Allen', 22),\n ('Martin Scorsese', 20),\n ('Clint Eastwood', 20),\n ('Ridley Scott', 17)]" |
740 | 753 | },
|
741 |
| - "execution_count": 26, |
| 754 | + "execution_count": 8, |
742 | 755 | "metadata": {},
|
743 | 756 | "output_type": "execute_result"
|
744 | 757 | }
|
|
0 commit comments