当前位置:网站首页>[colab] [7 methods of using external data]
[colab] [7 methods of using external data]
2022-07-03 13:03:00 【Laughing cold faced ghost】
List of articles
Method 1: adopt Files explorer Upload
Click on Notebook Of Files explorer panel :
Then click the upload button :
When the upload is over , You can read it directly :
Method 2: Use Colab files Upload
Enter and run the following code :
from google.colab import files
uploaded = files.upload()

Then you can select the corresponding file , Finish uploading :
Method 3: Read Github link
stay github The page finds the corresponding file path , Note that it is a file Raw link :
Then write the link to the corresponding location .
Method 4: clone Github project
First download the project from the command line :
!git clone https://github.com/BindiChen/machine-learning.git
Then read the data from the corresponding path .
Method 5: Use wget/axel Download the file
stay Notebook Can be used in Linux System commands , have access to wget or axel Download data :
Method 6: Read Google hard disk data
After mounting Google hard disk , Write the path and finish reading :

Method 7:Kaggle API Complete data download
Please refer to previous articles for detailed steps :【Colab】 Connect 【Kaggle】 Use Kaggle Data sets / writing [email protected]
First, in the Kaggle account Kaggle API, Click on Create New API Token, Will download a kaggle.json file .
take kaggle.json After file upload , You can use kaggle-api Download game data or datasets .
!kaggle competitions download -c titanic
!kaggle datasets download -d alexanderbader/forbes-billionaires-2021-30

Reference
边栏推荐
- Brief introduction to mvcc
- [data mining review questions]
- ncnn神經網絡計算框架在香柳丁派OrangePi 3 LTS開發板中的使用介紹
- Leetcode234 palindrome linked list
- 自抗扰控制器七-二阶 LADRC-PLL 结构设计
- [exercise 5] [Database Principle]
- 【習題五】【數據庫原理】
- [exercice 7] [principe de la base de données]
- Two solutions of leetcode101 symmetric binary tree (recursion and iteration)
- SLF4J 日志门面
猜你喜欢

Image component in ETS development mode of openharmony application development

【数据库原理及应用教程(第4版|微课版)陈志泊】【SQLServer2012综合练习】

4. Wireless in vivo nano network: electromagnetic propagation model and key points of sensor deployment

studio All flavors must now belong to a named flavor dimension. Learn more

【Colab】【使用外部数据的7种方法】
![[comprehensive question] [Database Principle]](/img/d7/8c51306bb390e0383a017d9097e1e5.png)
[comprehensive question] [Database Principle]

Xctf mobile--app2 problem solving

Application of ncnn Neural Network Computing Framework in Orange Pi 3 Lts Development Board

【数据库原理及应用教程(第4版|微课版)陈志泊】【第四章习题】

My creation anniversary: the fifth anniversary
随机推荐
Quickly learn member inner classes and local inner classes
Gan totem column bridgeless boost PFC (single phase) seven PFC duty cycle feedforward
【R】【密度聚类、层次聚类、期望最大化聚类】
4. Wireless in vivo nano network: electromagnetic propagation model and key points of sensor deployment
十條職場規則
Four problems and isolation level of MySQL concurrency
Openstack node address change
context. Getexternalfilesdir() is compared with the returned path
Sword finger offer 14- I. cut rope
【习题六】【数据库原理】
2022-01-27 redis cluster technology research
[combinatorics] permutation and combination (the combination number of multiple sets | the repetition of all elements is greater than the combination number | the derivation of the combination number
剑指 Offer 11. 旋转数组的最小数字
Swift5.7 extend some to generic parameters
【习题五】【数据库原理】
When the R language output rmarkdown is in other formats (such as PDF), an error is reported, latex failed to compile stocks Tex. solution
我的创作纪念日:五周年
ncnn神經網絡計算框架在香柳丁派OrangePi 3 LTS開發板中的使用介紹
【数据库原理复习题】
Huffman coding experiment report