A Python module for writing pandas DataFrame objects directly to Google Spreadsheets
Project description
dfgsheet
A Python module for writing pandas DataFrame objects directly to Google Spreadsheets
Install dfgsheet
$ pip install dfgsheet
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 README.
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.4.tar.gz
(3.8 kB
view hashes)
Built Distribution
Close
Hashes for dftogsheet-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97558c7e1c50c814197970c39e7a0f461682e3720cb980a35226ab02cd91d3d7 |
|
MD5 | b7218a02949bfa404a05fc98bd136619 |
|
BLAKE2b-256 | bae1d5a8ccafe6835bb4d03af634c7032b5761bd38a73ff901849f1cdb3af1b1 |