semvec/pypi-packages huggingface dataset:
pandas-excel-limitedrows 2.0.1
Pandas Extension Package used to read Excel files with limit rows
License: MIT
Keywords: dev,web,pandas,excel,data science

# Description

Pandas Excel LimitedRows is a Python library used to optimize the Pandas's read_excel function, adding a max_row parameter if you need to read only the X first lines.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install foobar.

```bash
pip install pandas-excel-limitedrows
```

## Usage

```python
import pandas_excel_limitedrows as pdlr

# Generate DataFrame with first 50 rows
df = pdlr.read_excel(file, max_rows=50)

# Instanciate ExcelFile with first 50 rows
excel_file = pdlr.RowLimitedExcelFile(file, max_rows=50) 
```
Notes: 
- If you use sheet_name as list to read more than one sheet, all dataframes will be generated with max_rows limit;
- All others pandas.read_excel() and pandas.ExcelFile() parameters can be used;
- This package uses Pandas, OpenpyXL, Pyxlsb and Xlrd dependencies and works these three engines.


## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.


## License
[MIT](https://choosealicense.com/licenses/mit/)
berliner 0.1.1
Tools for stellar tracks & isochrones.
License: MIT

## berliner
Tools for stellar tracks & isochrones.

## author
Bo Zhang, [bozhang@nao.cas.cn](mailto:bozhang@nao.cas.cn)

## home page
- [https://github.com/hypergravity/berliner](https://github.com/hypergravity/berliner)
- [https://pypi.org/project/berliner/](https://pypi.org/project/berliner/)

## install
- for the latest **stable** version: `pip install berliner`
- for the latest **github** version: `pip install git+git://github.com/hypergravity/berliner`

## How to download isochrones from CMD 3.4 

last tested: 2021-03-31

```python
# import CMD
from berliner.parsec import CMD
# initialize it
c = CMD()

# Example 1: download one isochrone
c.get_one_isochrone(
    logage=9.0,     # log age
    z=0.0152,       # if [M/H] is not set, z is used
    mh=None,        # [M/H]
    photsys_file='2mass_spitzer', # photometric system
    )

# Example 2: download a grid of isochrones
# define your grid of logAge and [M/H] as tuple(lower, upper, step)
grid_logage = (6, 10.2, 0.1)
grid_mh = (-2.6, 0.5, 0.1)
# download isochrones in parallel
isoc_lgage, isoc_mhini, isoc_list_2mass_wise = c.get_isochrone_grid_mh(
    grid_logage=grid_logage, grid_mh=grid_mh, photsys_file="2mass_spitzer_wise",
    n_jobs=50, verbose=10)

# More ... 
c.help()            # take a look at the output, it may help you!
```