A Python module for writing pandas DataFrame objects directly to Google Spreadsheets
Project description
df-gsheet
A Python module for writing pandas DataFrame objects directly to Google Spreadsheets
Install gsheets
$ pip install df-gsheet
Setup
- Enable the Google Sheets API for the Google account you'd like to use.
Simple Usage
import pandas as pd
import dfgsheet
data_frame = pd.DataFrame()
dfgsheet.write_to_sheet(data_frame, spreadsheet_id, sheet_name)
Parameters
There are three mandatory parameters for the above function:
data_frame
is any pandas DataFrame object.spreadsheet_id
is the part of the Google Spreadsheet URL that is between/d/
and/edit
.sheet_name
is the name of the sheet within the Google spreadsheet. E.g.Sheet1
.
What's new
- Update dependencies.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dftogsheet-0.0.3.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for dftogsheet-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a84fc2f39447383a842691043fbcd1058d8e033298887ba4bcbd9ededd8446b |
|
MD5 | 1967310cb565cfa8ef7ca47f277eefb7 |
|
BLAKE2b-256 | ce418671b7113f2c91f0f398796dede0b2f7832b4d1bc8d9c76de99ea0f7428c |