Electrification.get_indep_line_catalogue

Electrification.get_indep_line_catalogue(update=False, verbose=False)

Get a catalogue for independent lines.

Parameters
  • update (bool) – whether to do an update check (for the package data), defaults to False

  • verbose (bool or int) – whether to print relevant information in console, defaults to False

Returns

a list of independent line names

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]