Append csv, xlsx, and xls files.
Project description
pdappend
Run pdappend
from the command line to append csv, xlsx, and xls files.
Installation
pip install pdappend
Using pdappend
Append specific files
pdappend file1.csv file2.csv file3.csv
Append specific file types in your directory
pdappend *.csv
Append all pdappend
-compatible files in your directory
pdappend .
Supported file types
- csv
- xls
- xlsx: Not supported in Python 3.6 environments (downgrade to
xlrd 1.2.0
or convert to.xls
)
For specific sheets in Excel files
Using the command line
Use the flag --sheet-name
to add a specific sheet name.
pdappend *.xls --sheet-name="Sheet Name"
Using .pdappend
files
In the current working directory add a .pdappend
file containing:
SHEET_NAME=Sheet Name
pdappend-gui
Run pdappend-gui
at the command line to select files manually. You can use the same flags or .pdappend
config for this method as well.
Header row configuration
If the first row of your file is not the column row use the --header-row
flag or HEADER_ROW
in the .pdappend
to add the column row number. The default header row is 0.
Documentation
See the wiki for more on pdappend
.
Contributing
Pull requests are welcome!
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
Built Distribution
Hashes for pdappend-0.0.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee6d162e4bbebff14b7710a44cf984e76d6b1d580ac5e89c0b20a20f6dc5b924 |
|
MD5 | 74b3694337ddf7b09f3dce542e038125 |
|
BLAKE2b-256 | 53d5017d1142f71a6b80340590a4fade1530b03e1bee7495bb7e9ce2be13f230 |