question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inline method docs, rather than using "derived_from"

See original GitHub issue

The problem is that the equivalent methods in pandas usually have a lot of arguments, and some of them don’t make to support in Koalas or are temporarily not supported. Showing those in the examples are simply confusing to end users when they read the docs. We should just inline the docs. We can however create them using pandas docs as the baseline.

Here is an initial list:

frame.py-    def iteritems(self):
frame.py-    def to_html(self, buf=None, columns=None, col_space=None, header=True, index=True,
frame.py-    def isnull(self):
frame.py-    def notnull(self):
frame.py-    def toPandas(self):
frame.py-    def assign(self, **kwargs):
frame.py-    def dropna(self, axis=0, how='any', thresh=None, subset=None, inplace=False):
frame.py-    def drop(self, labels, axis=0, errors='raise'):
frame.py-    def get(self, key, default=None):
frame.py-    def pipe(self, func, *args, **kwargs):

series.py-    def rename(self, index=None, **kwargs):
series.py-    def reset_index(self, level=None, drop=False, name=None, inplace=False):
series.py-    def isnull(self):
series.py-    def notnull(self):
series.py-    def dropna(self, axis=0, inplace=False, **kwargs):
series.py-    def head(self, n=5):
series.py-    def value_counts(self, normalize=False, sort=True, ascending=False, bins=None, dropna=True):

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
ezwiefelcommented, May 3, 2019

@abishekganesh72, Sounds good - thanks!

1reaction
rxincommented, Apr 30, 2019

@shril please do. We need all the help we can get. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Inline Functions, C++ FAQ
No matter how you designate a function as inline , it is a request that the compiler is allowed to ignore: the compiler...
Read more >
Are inline virtual functions really a non-sense? - Stack Overflow
I've seen compilers that don't emit any v-table if no non-inline function at all exists (and defined in one implementation file instead of...
Read more >
Inline Functions (C++) - Microsoft Learn
The inline keyword tells the compiler to substitute the code within the function definition for every instance of a function call. Using inline ......
Read more >
The inline function specifier - IBM
An inline function is one for which the compiler copies the code from the function definition directly into the code of the calling...
Read more >
inline specifier - cppreference.com
The inline specifier, when used in a function's decl-specifier-seq, declares the function to be an inline function.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found