Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Pint-pandas is written and maintained by Hernan E. Grecco <[email protected]>.

Other contributors, listed alphabetically, are:

* Andrew Savage <[email protected]>
* Sigvald Marholm <[email protected]>
* Zebedee Nicholls <[email protected]>

(If you think that your name belongs here, please let the maintainer know)
8 changes: 4 additions & 4 deletions pintpandas/pint_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
is_integer,
is_bool,
)
from pandas.compat import u, set_function_name
from pandas.compat import set_function_name
from pandas.io.formats.printing import (
format_object_summary, format_object_attrs, default_pprint)
from pandas import Series, DataFrame
Expand Down Expand Up @@ -258,10 +258,10 @@ def __repr__(self):
attrs = format_object_attrs(self)
space = " "

prepr = (u(",%s") %
space).join(u("%s=%s") % (k, v) for k, v in attrs)
prepr = (",%s" %
space).join("%s=%s" % (k, v) for k, v in attrs)

res = u("%s(%s%s)") % (klass, data, prepr)
res = "%s(%s%s)" % (klass, data, prepr)

return res

Expand Down