Skip to content

DOC: add dynamically generated doc-strings for generic functions #4941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
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
8 changes: 8 additions & 0 deletions pandas/compat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,13 @@ class to receive bound method

def u(s):
return s

def u_safe(s):
return s

def function_object(f):
return f

else:
string_types = basestring,
integer_types = (int, long)
Expand All @@ -198,6 +203,9 @@ def u_safe(s):
except:
return s

def function_object(f):
return f.im_func


string_and_binary_types = string_types + (binary_type,)

Expand Down
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4716,7 +4716,7 @@ def combineMult(self, other):

DataFrame._setup_axes(
['index', 'columns'], info_axis=1, stat_axis=0, axes_are_reversed=True)

DataFrame._setup_generic_methods()

_EMPTY_SERIES = Series([])

Expand Down
Loading