Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

open csv in coalb

#if csv file already uploaded in drive:-

from google.colab import drive
drive.mount('/content/drive')

#to read csv using numpy (only num data)
import numpy as np
data = np.genfromtxt('/content/drive/MyDrive/whatever location',delimiter=',',skip_header=1)

Comment

PREVIOUS NEXT
Code Example
Python :: Amazon price tracker in Python 
Python :: python colored text in console 
Python :: treesitter python 
Python :: closure python 
Python :: ImportError: sys.meta_path is None, Python is likely shutting down 
Python :: python telegram bot async 
Python :: Fastest way to Convert Integers to Strings in Pandas DataFrame 
Python :: remove element from pack tkinter 
Python :: contextlib closing python file 
Python :: python linear interpolation 
Python :: name columns pandas 
Python :: python trim zero off end of list 
Python :: python generate tuple from lists 
Python :: python basics 
Python :: join list of string into a single string with comma 
Python :: python list pop 
Python :: django upload multiple files 
Python :: python how to end while loop 
Python :: run python in c ++ 
Python :: how to define a functio in python 
Python :: prolog finding the max from a list of facts 
Python :: update django model with dict 
Python :: how to add hyperlink in jupyter notebook 
Python :: get fields in object python 
Python :: password protected cmd python 
Python :: # /usr/bin/env python windows 
Python :: how to run python in the browser 
Python :: mixpanel export api 
Python :: pyside click through window 
Python :: import file in another path python 
ADD CONTENT
Topic
Content
Source link
Name
8+7 =