No project description provided
Project description
WikiCrop
WikiCrop is a library that provides CSV datasets for common agricultural crops, helping developers and data analysts easily retrieve information using pandas.
Installation
You can install or update the WikiCrop library via pip:
pip install --upgrade wikicrop
Usage
After successfully installing the library, you can directly call the functions to load data for each crop as follows:
from wikicrop import species
# 1. Load rice data
df_rice = species.load_rice()
print(f"Number of rows for Rice: {len(df_rice)}")
# 2. Load soybean data
df_soybean = species.load_soybean()
print(f"Number of rows for Soybean: {len(df_soybean)}")
# 3. Load soy data
df_soy = species.load_soy()
print(f"Number of rows for Soy: {len(df_soy)}")
# 4. Load mung bean data
df_mung_bean = species.load_mung_bean()
print(f"Number of rows for Mung Bean: {len(df_mung_bean)}")
# 5. Load corn data
df_corn = species.load_corn()
print(f"Number of rows for Corn: {len(df_corn)}")
Requirements
This library has built-in CSV datasets. The only requirements for this library to work are:
- Use Python 3.x
- Have
pandaslibrary installed (the system will automatically install it if you usepip install wikicrop).
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wikicrop-0.4.tar.gz.
File metadata
- Download URL: wikicrop-0.4.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f0933fc48463018dd0c7d949006bdd759b92b8fd4078e5a8688d114711f3f72
|
|
| MD5 |
442ea08c7849a66694cc91aff69ec682
|
|
| BLAKE2b-256 |
821a3fae9bb728f7474a8f072320c16c4aae141f1a3f42c84a6536782d874b5c
|
File details
Details for the file wikicrop-0.4-py3-none-any.whl.
File metadata
- Download URL: wikicrop-0.4-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a53743a5e490501d07ed241809b26cca7c6d5d821459a7dca0c99f3a3cd04512
|
|
| MD5 |
d5774b520ad1e63a6599c45c3834de7b
|
|
| BLAKE2b-256 |
01a00f71c5dd54ad8def0d910dc933fc53e5e8b2a77fcb32b917b30b9437972e
|