-
Notifications
You must be signed in to change notification settings - Fork 0
Home work 3 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lspvtv
wants to merge
8
commits into
master
Choose a base branch
from
WorkWithData
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Home work 3 #4
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
92ad125
Update README.md
lspvtv 0cd6f9e
change *kwargs to *args, correction inheritance
bulychevaoa eac0a69
-> add solution to task
bulychevaoa 506a4c4
-> solution to task
bulychevaoa 0ee9973
-> replace init files
bulychevaoa 7eb787a
-> correct work, but incorrect logic for deviding books
bulychevaoa fb76662
-> add to gitignore
bulychevaoa c73cc68
переписала логику парсинга данных, исправила комментарии
lspvtv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| # file: ~/.gitignore_global | ||
| .DS_Store | ||
| .idea | ||
| src/* | ||
| tests/* | ||
| .idea/ | ||
| venv | ||
| __pycache__/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| # Hello world | ||
| This is repository for OTUS course. | ||
| # WorkWithData | ||
| This is the third task from OTUS course. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import os | ||
|
|
||
| CURRENT_DIR = os.path.dirname(__file__) | ||
| FILES_DIR = os.path.join(CURRENT_DIR, 'files') | ||
|
|
||
|
|
||
| def get_path(filename: str): | ||
| return os.path.join(FILES_DIR, filename) | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,212 @@ | ||
| Title,Author,Genre,Pages,Publisher | ||
| Fundamentals of Wavelets,"Goswami, Jaideva",signal_processing,228,Wiley | ||
| Data Smart,"Foreman, John",data_science,235,Wiley | ||
| God Created the Integers,"Hawking, Stephen",mathematics,197,Penguin | ||
| Superfreakonomics,"Dubner, Stephen",economics,179,HarperCollins | ||
| Orientalism,"Said, Edward",history,197,Penguin | ||
| "Nature of Statistical Learning Theory, The","Vapnik, Vladimir",data_science,230,Springer | ||
| Integration of the Indian States,"Menon, V P",history,217,Orient Blackswan | ||
| "Drunkard's Walk, The","Mlodinow, Leonard",science,197,Penguin | ||
| Image Processing & Mathematical Morphology,"Shih, Frank",signal_processing,241,CRC | ||
| How to Think Like Sherlock Holmes,"Konnikova, Maria",psychology,240,Penguin | ||
| Data Scientists at Work,Sebastian Gutierrez,data_science,230,Apress | ||
| Slaughterhouse Five,"Vonnegut, Kurt",fiction,198,Random House | ||
| Birth of a Theorem,"Villani, Cedric",mathematics,234,Bodley Head | ||
| Structure & Interpretation of Computer Programs,"Sussman, Gerald",computer_science,240,MIT Press | ||
| "Age of Wrath, The","Eraly, Abraham",history,238,Penguin | ||
| "Trial, The","Kafka, Frank",fiction,198,Random House | ||
| Statistical Decision Theory',"Pratt, John",data_science,236,MIT Press | ||
| Data Mining Handbook,"Nisbet, Robert",data_science,242,Apress | ||
| "New Machiavelli, The","Wells, H. G.",fiction,180,Penguin | ||
| Physics & Philosophy,"Heisenberg, Werner",science,197,Penguin | ||
| Making Software,"Oram, Andy",computer_science,232,O'Reilly | ||
| "Analysis, Vol I","Tao, Terence",mathematics,248,HBA | ||
| Machine Learning for Hackers,"Conway, Drew",data_science,233,O'Reilly | ||
| "Signal and the Noise, The","Silver, Nate",data_science,233,Penguin | ||
| Python for Data Analysis,"McKinney, Wes",data_science,233,O'Reilly | ||
| Introduction to Algorithms,"Cormen, Thomas",computer_science,234,MIT Press | ||
| "Beautiful and the Damned, The","Deb, Siddhartha",nonfiction,198,Penguin | ||
| "Outsider, The","Camus, Albert",fiction,198,Penguin | ||
| "Complete Sherlock Holmes, The - Vol I","Doyle, Arthur Conan",fiction,176,Random House | ||
| "Complete Sherlock Holmes, The - Vol II","Doyle, Arthur Conan",fiction,176,Random House | ||
| "Wealth of Nations, The","Smith, Adam",economics,175,Random House | ||
| "Pillars of the Earth, The","Follett, Ken",fiction,176,Random House | ||
| Mein Kampf,"Hitler, Adolf",nonfiction,212,Rupa | ||
| "Tao of Physics, The","Capra, Fritjof",science,179,Penguin | ||
| Surely You're Joking Mr Feynman,"Feynman, Richard",science,198,Random House | ||
| "Farewell to Arms, A","Hemingway, Ernest",fiction,179,Rupa | ||
| "Veteran, The","Forsyth, Frederick",fiction,177,Transworld | ||
| False Impressions,"Archer, Jeffery",fiction,177,Pan | ||
| "Last Lecture, The","Pausch, Randy",nonfiction,197,Hyperion | ||
| Return of the Primitive,"Rand, Ayn",philosophy,202,Penguin | ||
| Jurassic Park,"Crichton, Michael",fiction,174,Random House | ||
| "Russian Journal, A","Steinbeck, John",nonfiction,196,Penguin | ||
| Tales of Mystery and Imagination,"Poe, Edgar Allen",fiction,172,HarperCollins | ||
| Freakonomics,"Dubner, Stephen",economics,197,Penguin | ||
| "Hidden Connections, The","Capra, Fritjof",science,197,HarperCollins | ||
| "Story of Philosophy, The","Durant, Will",philosophy,170,Pocket | ||
| Asami Asami,"Deshpande, P L",fiction,205,Mauj | ||
| Journal of a Novel,"Steinbeck, John",fiction,196,Penguin | ||
| Once There Was a War,"Steinbeck, John",nonfiction,196,Penguin | ||
| "Moon is Down, The","Steinbeck, John",fiction,196,Penguin | ||
| "Brethren, The","Grisham, John",fiction,174,Random House | ||
| In a Free State,"Naipaul, V. S.",fiction,196,Rupa | ||
| Catch 22,"Heller, Joseph",fiction,178,Random House | ||
| "Complete Mastermind, The",BBC,nonfiction,178,BBC | ||
| Dylan on Dylan,"Dylan, Bob",nonfiction,197,Random House | ||
| Soft Computing & Intelligent Systems,"Gupta, Madan",data_science,242,Elsevier | ||
| Textbook of Economic Theory,"Stonier, Alfred",economics,242,Pearson | ||
| Econometric Analysis,"Greene, W. H.",economics,242,Pearson | ||
| Learning OpenCV,"Bradsky, Gary",data_science,232,O'Reilly | ||
| Data Structures Using C & C++,"Tanenbaum, Andrew",computer_science,235,Prentice Hall | ||
| "Computer Vision, A Modern Approach","Forsyth, David",data_science,255,Pearson | ||
| Principles of Communication Systems,"Taub, Schilling",computer_science,240,TMH | ||
| Let Us C,"Kanetkar, Yashwant",computer_science,213,Prentice Hall | ||
| "Amulet of Samarkand, The","Stroud, Jonathan",fiction,179,Random House | ||
| Crime and Punishment,"Dostoevsky, Fyodor",fiction,180,Penguin | ||
| Angels & Demons,"Brown, Dan",fiction,178,Random House | ||
| "Argumentative Indian, The","Sen, Amartya",nonfiction,209,Picador | ||
| Sea of Poppies,"Ghosh, Amitav",fiction,197,Penguin | ||
| "Idea of Justice, The","Sen, Amartya",nonfiction,212,Penguin | ||
| "Raisin in the Sun, A","Hansberry, Lorraine",fiction,175,Penguin | ||
| All the President's Men,"Woodward, Bob",history,177,Random House | ||
| "Prisoner of Birth, A","Archer, Jeffery",fiction,176,Pan | ||
| Scoop!,"Nayar, Kuldip",history,216,HarperCollins | ||
| Ahe Manohar Tari,"Deshpande, Sunita",nonfiction,213,Mauj | ||
| "Last Mughal, The","Dalrymple, William",history,199,Penguin | ||
| "Social Choice & Welfare, Vol 39 No. 1",Various,economics,235,Springer | ||
| Radiowaril Bhashane & Shrutika,"Deshpande, P L",nonfiction,213,Mauj | ||
| Gun Gayin Awadi,"Deshpande, P L",nonfiction,212,Mauj | ||
| Aghal Paghal,"Deshpande, P L",nonfiction,212,Mauj | ||
| Maqta-e-Ghalib,"Garg, Sanjay",fiction,221,Mauj | ||
| Beyond Degrees,,nonfiction,222,HarperCollins | ||
| Manasa,"Kale, V P",nonfiction,213,Mauj | ||
| India from Midnight to Milennium,"Tharoor, Shashi",history,198,Penguin | ||
| "World's Greatest Trials, The",,history,210, | ||
| "Great Indian Novel, The","Tharoor, Shashi",fiction,198,Penguin | ||
| O Jerusalem!,"Lapierre, Dominique",history,217,vikas | ||
| "City of Joy, The","Lapierre, Dominique",fiction,177,vikas | ||
| Freedom at Midnight,"Lapierre, Dominique",history,167,vikas | ||
| "Winter of Our Discontent, The","Steinbeck, John",fiction,196,Penguin | ||
| On Education,"Russell, Bertrand",philosophy,203,Routledge | ||
| Free Will,"Harris, Sam",philosophy,203,FreePress | ||
| Bookless in Baghdad,"Tharoor, Shashi",nonfiction,206,Penguin | ||
| "Case of the Lame Canary, The","Gardner, Earle Stanley",fiction,179, | ||
| "Theory of Everything, The","Hawking, Stephen",science,217,Jaico | ||
| New Markets & Other Essays,"Drucker, Peter",economics,176,Penguin | ||
| Electric Universe,"Bodanis, David",science,201,Penguin | ||
| "Hunchback of Notre Dame, The","Hugo, Victor",fiction,175,Random House | ||
| Burning Bright,"Steinbeck, John",fiction,175,Penguin | ||
| "Age of Discontuinity, The","Drucker, Peter",economics,178,Random House | ||
| Doctor in the Nude,"Gordon, Richard",fiction,179,Penguin | ||
| Down and Out in Paris & London,"Orwell, George",nonfiction,179,Penguin | ||
| Identity & Violence,"Sen, Amartya",philosophy,219,Penguin | ||
| Beyond the Three Seas,"Dalrymple, William",history,197,Random House | ||
| "World's Greatest Short Stories, The",,fiction,217,Jaico | ||
| Talking Straight,"Iacoca, Lee",nonfiction,175, | ||
| "Maugham's Collected Short Stories, Vol 3","Maugham, William S",fiction,171,Vintage | ||
| "Phantom of Manhattan, The","Forsyth, Frederick",fiction,180, | ||
| Ashenden of The British Agent,"Maugham, William S",fiction,160,Vintage | ||
| Zen & The Art of Motorcycle Maintenance,"Pirsig, Robert",philosophy,172,Vintage | ||
| "Great War for Civilization, The","Fisk, Robert",history,197,HarperCollins | ||
| We the Living,"Rand, Ayn",fiction,178,Penguin | ||
| "Artist and the Mathematician, The","Aczel, Amir",science,186,HighStakes | ||
| History of Western Philosophy,"Russell, Bertrand",philosophy,213,Routledge | ||
| Selected Short Stories,,fiction,215,Jaico | ||
| Rationality & Freedom,"Sen, Amartya",economics,213,Springer | ||
| Clash of Civilizations and Remaking of the World Order,"Huntington, Samuel",history,228,Simon&Schuster | ||
| Uncommon Wisdom,"Capra, Fritjof",nonfiction,197,Fontana | ||
| One,"Bach, Richard",nonfiction,172,Dell | ||
| Karl Marx Biography,,nonfiction,162, | ||
| To Sir With Love,Braithwaite,fiction,197,Penguin | ||
| Half A Life,"Naipaul, V S",fiction,196, | ||
| "Discovery of India, The","Nehru, Jawaharlal",history,230, | ||
| Apulki,"Deshpande, P L",nonfiction,211, | ||
| Unpopular Essays,"Russell, Bertrand",philosophy,198, | ||
| "Deceiver, The","Forsyth, Frederick",fiction,178, | ||
| Veil: Secret Wars of the CIA,"Woodward, Bob",history,171, | ||
| Char Shabda,"Deshpande, P L",nonfiction,214, | ||
| Rosy is My Relative,"Durrell, Gerald",fiction,176, | ||
| "Moon and Sixpence, The","Maugham, William S",fiction,180, | ||
| Political Philosophers,,philosophy,162, | ||
| "Short History of the World, A","Wells, H G",history,197, | ||
| "Trembling of a Leaf, The","Maugham, William S",fiction,205, | ||
| Doctor on the Brain,"Gordon, Richard",fiction,204, | ||
| Simpsons & Their Mathematical Secrets,"Singh, Simon",science,233, | ||
| Pattern Classification,"Duda, Hart",data_science,241, | ||
| From Beirut to Jerusalem,"Friedman, Thomas",history,202, | ||
| "Code Book, The","Singh, Simon",science,197, | ||
| "Age of the Warrior, The","Fisk, Robert",history,197, | ||
| Final Crisis,,comic,257, | ||
| "Killing Joke, The",,comic,283, | ||
| Flashpoint,,comic,265, | ||
| Batman Earth One,,comic,265, | ||
| Crisis on Infinite Earths,,comic,258, | ||
| "Numbers Behind Numb3rs, The","Devlin, Keith",science,202, | ||
| Superman Earth One - 1,,comic,259, | ||
| Superman Earth One - 2,,comic,258, | ||
| Justice League: Throne of Atlantis,,comic,258, | ||
| Justice League: The Villain's Journey,,comic,258, | ||
| "Death of Superman, The",,comic,258, | ||
| History of the DC Universe,,comic,258, | ||
| Batman: The Long Halloween,,comic,258, | ||
| "Life in Letters, A","Steinbeck, John",nonfiction,196, | ||
| "Information, The","Gleick, James",science,233, | ||
| "Journal of Economics, vol 106 No 3",,economics,235, | ||
| Elements of Information Theory,"Thomas, Joy",data_science,229, | ||
| Power Electronics - Rashid,"Rashid, Muhammad",computer_science,235, | ||
| Power Electronics - Mohan,"Mohan, Ned",computer_science,237, | ||
| Neural Networks,"Haykin, Simon",data_science,240, | ||
| "Grapes of Wrath, The","Steinbeck, John",fiction,196, | ||
| Vyakti ani Valli,"Deshpande, P L",nonfiction,211, | ||
| Statistical Learning Theory,"Vapnik, Vladimir",data_science,228, | ||
| Empire of the Mughal - The Tainted Throne,"Rutherford, Alex",history,180, | ||
| Empire of the Mughal - Brothers at War,"Rutherford, Alex",history,180, | ||
| Empire of the Mughal - Ruler of the World,"Rutherford, Alex",history,180, | ||
| Empire of the Mughal - The Serpent's Tooth,"Rutherford, Alex",history,180, | ||
| Empire of the Mughal - Raiders from the North,"Rutherford, Alex",history,180, | ||
| Mossad,"Baz-Zohar, Michael",history,236, | ||
| Jim Corbett Omnibus,"Corbett, Jim",nonfiction,223, | ||
| 20000 Leagues Under the Sea,"Verne, Jules",fiction,190, | ||
| Batatyachi Chal,Deshpande P L,fiction,200, | ||
| Hafasavnuk,Deshpande P L,fiction,211, | ||
| Urlasurla,Deshpande P L,fiction,211, | ||
| Pointers in C,"Kanetkar, Yashwant",computer_science,213, | ||
| "Cathedral and the Bazaar, The","Raymond, Eric",computer_science,217, | ||
| Design with OpAmps,"Franco, Sergio",computer_science,240, | ||
| Think Complexity,"Downey, Allen",data_science,230, | ||
| "Devil's Advocate, The","West, Morris",fiction,178, | ||
| Ayn Rand Answers,"Rand, Ayn",philosophy,203, | ||
| Philosophy: Who Needs It,"Rand, Ayn",philosophy,171, | ||
| "World's Great Thinkers, The",,philosophy,189, | ||
| Data Analysis with Open Source Tools,"Janert, Phillip",data_science,230, | ||
| Broca's Brain,"Sagan, Carl",science,174, | ||
| Men of Mathematics,"Bell, E T",mathematics,217, | ||
| Oxford book of Modern Science Writing,"Dawkins, Richard",science,240, | ||
| "Justice, Judiciary and Democracy","Ranjan, Sudhanshu",philosophy,224, | ||
| "Arthashastra, The",Kautiyla,philosophy,214, | ||
| We the People,Palkhivala,philosophy,216, | ||
| We the Nation,Palkhivala,philosophy,216, | ||
| "Courtroom Genius, The",Sorabjee,nonfiction,217, | ||
| Dongri to Dubai,"Zaidi, Hussain",nonfiction,216, | ||
| "History of England, Foundation","Ackroyd, Peter",history,197, | ||
| City of Djinns,"Dalrymple, William",history,198, | ||
| India's Legal System,Nariman,nonfiction,177, | ||
| More Tears to Cry,"Sassoon, Jean",fiction,235, | ||
| "Ropemaker, The","Dickinson, Peter",fiction,196, | ||
| Angels & Demons,"Brown, Dan",fiction,170, | ||
| "Judge, The",,fiction,170, | ||
| "Attorney, The",,fiction,170, | ||
| "Prince, The",Machiavelli,philosophy,173, | ||
| Eyeless in Gaza,"Huxley, Aldous",fiction,180, | ||
| Tales of Beedle the Bard,"Rowling, J K",fiction,184, | ||
| Girl with the Dragon Tattoo,"Larsson, Steig",fiction,179, | ||
| Girl who kicked the Hornet's Nest,"Larsson, Steig",fiction,179, | ||
| Girl who played with Fire,"Larsson, Steig",fiction,179, | ||
| Batman Handbook,,comic,270, | ||
| Murphy's Law,,nonfiction,178, | ||
| Structure and Randomness,"Tao, Terence",mathematics,252, | ||
| Image Processing with MATLAB,"Eddins, Steve",signal_processing,241, | ||
| Animal Farm,"Orwell, George",fiction,180, | ||
| "Idiot, The","Dostoevsky, Fyodor",fiction,197, | ||
| "Christmas Carol, A","Dickens, Charles",fiction,196, |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.