Skip to content

Chương trình python đơn giản để thao tác với dữ liệu

Notifications You must be signed in to change notification settings

myus3rnam3159/ChuongTrinhDonGian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

18127057_NguyenTienAn_VN-1

Viết chương trình python đơn giản thao tác với dữ liệu

Xem notebook trên googlecolab
https://colab.research.google.com/drive/1f875tOsDhPWHHBBASFWcb8zRXzpns0OQ?usp=sharing

program.py: chương trình theo đề

Load phiên bản mới nhất của module trên Colab:
https://stackoverflow.com/questions/1739924/python-reload-component-y-imported-with-from-x-import-y/11724154#11724154

Xóa một file chỉ khi nó tồn tại:
https://stackoverflow.com/questions/42655177/how-can-i-delete-a-file-only-if-it-exists

Tải file từ web(2 bước bên dưới):
https://docs.google.com/document/d/1-ATODq2FrR7dcA5EUlABCQ5HOCy8vJS-/edit
https://stackoverflow.com/questions/67262326/how-to-clone-or-just-use-a-single-file-from-a-github-repository-in-google-cola/67327780#67327780

Đọc file csv vào một list:
https://www.studytonight.com/python-howtos/how-to-read-csv-to-list-in-python

Bỏ trùng lắp trong list gồm số hoặc chuỗi hoặc cả 2:
https://stackoverflow.com/questions/8200342/removing-duplicate-strings-from-a-list-in-python

Kiểm tra phần tử trong list có phải là số không:
https://stackoverflow.com/questions/3225305/how-to-check-if-an-element-of-a-list-is-a-number

Tính tổng một list toàn số:
https://stackoverflow.com/questions/4362586/sum-a-list-of-numbers-in-python

Viết hoa chữ cái đầu mỗi từ trong chuỗi từ cách nhau bằng dấu cách
https://www.codespeedy.com/convert-first-letter-of-each-word-to-uppercase-in-python/

Hàm yêu cầu user input:
https://www.w3schools.com/python/python_user_input.asp

Đọc một file text:
https://towardsdatascience.com/the-best-practice-of-reading-text-files-in-python-509b1d4f5a4

Chuyễn mỗi chuỗi gồm nhiều số ngăn cách bởi dấu phầy + khoảng trằng thành list các Kí tự số: https://idqna.madreview.net/

Cách xem kiểu của một biến:
https://pytutorial.com/python-how-to-get-the-type-of-a-variable

Cách xóa folder repo trong colab:
https://stackoverflow.com/questions/52265978/how-to-delete-a-locally-uploaded-file-on-google-colab

Cách xuống dòng trong readme
https://stackoverflow.com/questions/24575680/new-lines-inside-paragraph-in-readme-md

Cách import module python mà tên file của nó chứa khoảng trắng:
https://stackoverflow.com/questions/9123517/how-do-you-import-a-file-in-python-with-spaces-in-the-name

Không được đặt tên hàm trùng với tên file trong file python

Xem một commit trên github:
Trong repo, bên dưới mục Code được tô màu nổi bật, chọn biểu tượng mũi tên xoay tròn bên trong có kim đồng hồ
Nếu muốn xem chi tiết một commit, bấm vào tên in đậm của commit
Nếu muốn xem tổng quát repo tại thời điểm commit, bấm vào biểu tượng <> ở góc trái cuối commit

Cách clone repo trên github vào colab:
https://vallant.in/mport-python-packages-github-colab/

Cách tạo một git repo sử dụng command line:
https://stackoverflow.com/questions/35124997/create-a-github-repository-from-command-line
Cách xóa một git repo: https://stackoverflow.com/questions/1514054/how-do-i-delete-a-local-repository-in-git

Mở một file .ipynb trên github bằng google colab:
https://medium.com/@jameld.pro/quickly-open-a-github-repository-notebook-in-google-colab-58c1f44c9d4a
https://medium.com/@steve7an/how-to-test-jupyter-notebook-from-github-via-google-colab-7dc4b9b11a19

Xuống dòng trong Markdown:
https://stackoverflow.com/questions/26626256/how-to-insert-a-line-break-br-in-markdown

About

Chương trình python đơn giản để thao tác với dữ liệu

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published