Electrification.get_indep_line_catalogue¶
- Electrification.get_indep_line_catalogue(update=False, verbose=False)[source]¶
Gets a catalogue for the independent lines.
- Parameters:
update (bool) – Whether to check for updates to the package data; defaults to
False
.verbose (bool | int) – Whether to print relevant information to the console; defaults to
False
.
- Returns:
A pandas DataFrame containing the names of independent lines.
- Return type:
pandas.DataFrame
Examples:
>>> from pyrcs.line_data import Electrification # from pyrcs import Electrification >>> from pyhelpers.settings import pd_preferences >>> pd_preferences(max_columns=1) >>> elec = Electrification() >>> indep_line_cat = elec.get_indep_line_catalogue() >>> indep_line_cat.head() Feature ... 0 Beamish Tramway ... 1 Birkenhead Tramway ... 2 Black Country Living Museum ... 3 Blackpool Tramway ... 4 Brighton and Rottingdean Seashore Electric Rai... ... [5 rows x 3 columns]