Usability improvements
Look at that #124 (closed) , we seem to have a new user or at least an interested third party. Of course he did ran into issues with the very first step, the installation...
So, we already screwed up the first impression and obviously also the second. So I thought, maybe we sneak in some ergonomic improvements, to not also spoil the third. The changes proposed here:
-
getResult
by default now returnsDataFrames
fordata
andflags
instead of aDictOfSeries
and aflagger
. The reasoning here is, thatgetResult
is more a user facing method and bothDictOfSeries
andBaseFlagger
instances are not easily digestible and probably of little use outside ofsaqc
. There is however the possibility to opt into the old behavior. - The validity checks for the
SaQC
constructor argumentdata
are relaxed. I don't see a good reason, why we should not allowpd.Series
(and simply convert them toDataFrame
) nor why we enforce column labels of type string.
Edited by David Schäfer