当前位置:网站首页>[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
边栏推荐
- [comprehensive question] [Database Principle]
- C graphical tutorial (Fourth Edition)_ Chapter 18 enumerator and iterator: enumerator samplep340
- [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
- Powerful avatar making artifact wechat applet
- 并网-低电压穿越与孤岛并存分析
- 有限状态机FSM
- C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - using asynchronous
- Slf4j log facade
- 2022-01-27 redis cluster cluster proxy predixy analysis
- [exercise 7] [Database Principle]
猜你喜欢

Sword finger offer14 the easiest way to cut rope

自抗扰控制器七-二阶 LADRC-PLL 结构设计

【Colab】【使用外部数据的7种方法】
![[data mining review questions]](/img/96/00f866135e06c4cc0d765c6e499b29.png)
[data mining review questions]

Node. Js: use of express + MySQL

Integer case study of packaging

Application of ncnn neural network computing framework in orange school orangepi 3 lts development board

Analysis of a music player Login Protocol

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

GaN图腾柱无桥 Boost PFC(单相)七-PFC占空比前馈
随机推荐
Everything comes to him who waits
ncnn神經網絡計算框架在香柳丁派OrangePi 3 LTS開發板中的使用介紹
Leetcode234 palindrome linked list
[network counting] Chapter 3 data link layer (2) flow control and reliable transmission, stop waiting protocol, backward n frame protocol (GBN), selective retransmission protocol (SR)
【数据库原理复习题】
Quick learning 1.8 front and rear interfaces
Kotlin notes - popular knowledge points asterisk (*)
C graphical tutorial (Fourth Edition)_ Chapter 20 asynchronous programming: examples - cases without asynchronous
有限状态机FSM
An example of newtonjason
Social community forum app ultra-high appearance UI interface
Express abstract classes and methods
Differences between initial, inherit, unset, revert and all
Create a dojo progress bar programmatically: Dojo ProgressBar
[judgment question] [short answer question] [Database Principle]
Sword finger offer14 the easiest way to cut rope
解决 System has not been booted with systemd as init system (PID 1). Can‘t operate.
context. Getexternalfilesdir() is compared with the returned path
Powerful avatar making artifact wechat applet
The foreground uses RSA asymmetric security to encrypt user information