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.1.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for dftogsheet-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31436302a15a10b480b9d1fa252bb7276d8d57dca341aa6c0fa26be7bd8681e1 |
|
MD5 | 45319c267ada129a1d05043b9823e3ed |
|
BLAKE2b-256 | 0c26c880a9888d4816e4eecb28ae42ce723f27e4e74a0d76bee08da9dafbe9c3 |