What do you want to save?
Add Code snippet
New code examples
-
Go 2022-02-22 20:35:03
how to stop google colab from disconnecting
function ConnectButton(){ console.log("Connect pushed"); document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click() } setInterval(ConnectButton,60000); Add solution -
Other 2022-02-17 13:30:06
csv colab
# It will prompt you to select a file. Click on “Choose Files” then select and upload the file. Wait for the file to be 100% uploaded. from google.colab import files uploaded = files.upload() # To store dataset in a Pandas Dataframe import i... Add solution -
Python 2022-02-16 01:05:03
colab erase recycle bin drive
# credit to Stack Overflow user in the source link from pydrive.auth import GoogleAuth from pydrive.drive import GoogleDrive from google.colab import auth from oauth2client.client import GoogleCredentials auth.authenticate_user() gauth = GoogleAuth() ga... Add solution -
Python 2022-02-02 17:46:23
colab import python file
from google.colab import files files.upload() # run the above code and click on the enabled "Choose Files" button import pandas as pd df = pd.read_csv('your uploades file name.csv') # df is a changable variable df.head() # shows first 5 rows Add solution