Core Modules#

powerplantmatching.core Module#

Created on Tue Jul 16 15:47:46 2019

@author: fabian

Functions#

abspath(path)

Return an absolute path.

dirname(p)

Returns the directory component of a pathname

exists(path)

Test whether a path exists.

expanduser(path)

Expand ~ and ~user constructions.

get_config([filename])

Import the default configuration file and update custom settings.

get_obj_if_Acc(obj)

isdir(s)

Return true if the pathname refers to an existing directory.

join(a, *p)

Join two or more pathname components, inserting '/' as needed.

makedirs(name [[, mode, exist_ok])

Super-mkdir; create a leaf directory and all intermediate ones.

powerplantmatching.duke Module#

Functions#

add_geoposition_for_duke(df)

Returns the same pandas.Dataframe with an additional column "Geoposition" which concats the latitude and longitude of the powerplant in a string

duke(datasets[, labels, singlematch, ...])

Run duke in different modes (Deduplication or Record Linkage Mode) to either locate duplicates in one database or find the similar entries in two different datasets.

powerplantmatching.accessor Module#

Created on Tue Jul 16 18:09:56 2019

@author: fabian

Classes#

PowerPlantAccessor(pandas_obj)

Accessor object for DataFrames created with powerplantmatching.

Class Inheritance Diagram#

digraph inheritance49fab698bd { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "PowerPlantAccessor" [URL="api/powerplantmatching.accessor.PowerPlantAccessor.html#powerplantmatching.accessor.PowerPlantAccessor",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Accessor object for DataFrames created with powerplantmatching."]; }