Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

import file to colab

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
Comment

PREVIOUS NEXT
Code Example
Python :: how to stop the program in python 
Python :: csv from string python 
Python :: skimage image read 
Python :: get eth balance python 
Python :: selenium keep window open python 
Python :: python merge strings in columns 
Python :: remove grid in plt 
Python :: linux python install 
Python :: django serializer exclude fields 
Python :: calculate market value crsp pandas 
Python :: Could not locate a bind configured on mapper mapped class class-tablename, SQL expression or this Session. 
Python :: random numbers in python 
Python :: virtualenv -p python3 
Python :: create folders in python 
Python :: get parameters flask 
Python :: get text from url python last slash 
Python :: python save string to text 
Python :: background image in python 
Python :: get last element of dictionary python 
Python :: code hand tracking 
Python :: qspinbox disable wheel python 
Python :: how to say someting in python 
Python :: folium python map in full screen 
Python :: python join list with comma 
Python :: drop first column pandas 
Python :: reverse pd based on index 
Python :: admin.tabularinline access values via a foreign key 
Python :: df reanme columns 
Python :: python selenium wait for page to load 
Python :: place a widget in a specific position in tkinter 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =