当前位置:网站首页>[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
边栏推荐
- 2022-02-11 practice of using freetsdb to build an influxdb cluster
- 阿里 & 蚂蚁自研 IDE
- Gan totem column bridgeless boost PFC (single phase) seven PFC duty cycle feedforward
- 【習題五】【數據庫原理】
- 【Colab】【使用外部数据的7种方法】
- 电压环对 PFC 系统性能影响分析
- Project video based on Linu development
- 【習題七】【數據庫原理】
- Xctf mobile--app3 problem solving
- Sword finger offer 14- I. cut rope
猜你喜欢
【数据库原理及应用教程(第4版|微课版)陈志泊】【第三章习题】
[comprehensive question] [Database Principle]
The latest version of blind box mall thinkphp+uniapp
4. Wireless in vivo nano network: electromagnetic propagation model and key points of sensor deployment
Leetcode234 palindrome linked list
【数据挖掘复习题】
Xctf mobile--rememberother problem solving
Method overloading and rewriting
Integer case study of packaging
How to convert a decimal number to binary in swift
随机推荐
Two solutions of leetcode101 symmetric binary tree (recursion and iteration)
【计网】第三章 数据链路层(2)流量控制与可靠传输、停止等待协议、后退N帧协议(GBN)、选择重传协议(SR)
Create a dojo progress bar programmatically: Dojo ProgressBar
It feels great to know you learned something, isn‘t it?
Exploration of sqoop1.4.4 native incremental import feature
Drop down refresh conflicts with recyclerview sliding (swiperefreshlayout conflicts with recyclerview sliding)
GaN图腾柱无桥 Boost PFC(单相)七-PFC占空比前馈
Redhat5 installing socket5 proxy server
Sword finger offer 14- ii Cut rope II
剑指 Offer 14- I. 剪绳子
Simple use and precautions of kotlin's array array and set list
Method overloading and rewriting
自抗扰控制器七-二阶 LADRC-PLL 结构设计
Sword finger offer 12 Path in matrix
【习题七】【数据库原理】
Nodejs+express+mysql realizes login function (including verification code)
Kung Fu pays off, and learning is done
[exercise 5] [Database Principle]
alright alright alright
Xctf mobile--app3 problem solving