pandas: powerful Python data analysis toolkit - 1.0.0filled in later on using the Substitution decorator. Finally, docstrings can be appended to with the Appender decorator. In this example, we’ll create a parent docstring normally (this is like pandas.core ChildA(Parent): @Substitution(klass="ChildA") @Appender(Parent.my_function.__doc__) def my_function(self): ... class ChildB(Parent): @Substitution(klass="ChildB") @Appender(Parent.my_function.__doc__) def my_function(self): (things like klass, axes, etc). You can substitute and append in one shot with something like @Appender(template % _shared_doc_kwargs) def my_function(self): ... where template may come from a module-level0 码力 | 3015 页 | 10.78 MB | 1 年前3
 pandas: powerful Python data analysis toolkit - 0.25.0filled in later on using the Substitution decorator. Finally, docstrings can be appended to with the Appender decorator. In this example, we’ll create a parent docstring normally (this is like pandas.core ChildA(Parent): @Substitution(klass="ChildA") @Appender(Parent.my_function.__doc__) def my_function(self): ... class ChildB(Parent): @Substitution(klass="ChildB") @Appender(Parent.my_function.__doc__) def my_function(self): (things like klass, axes, etc). You can substitute and append in one shot with something like @Appender(template % _shared_doc_kwargs) def my_function(self): ... where template may come from a module-level0 码力 | 2827 页 | 9.62 MB | 1 年前3
 pandas: powerful Python data analysis toolkit - 0.25.1filled in later on using the Substitution decorator. Finally, docstrings can be appended to with the Appender decorator. In this example, we’ll create a parent docstring normally (this is like pandas.core ChildA(Parent): @Substitution(klass="ChildA") @Appender(Parent.my_function.__doc__) def my_function(self): ... class ChildB(Parent): @Substitution(klass="ChildB") @Appender(Parent.my_function.__doc__) def my_function(self): (things like klass, axes, etc). You can substitute and append in one shot with something like @Appender(template % _shared_doc_kwargs) def my_function(self): ... where template may come from a module-level0 码力 | 2833 页 | 9.65 MB | 1 年前3
 pandas: powerful Python data analysis toolkit - 1.0filled in later on using the Substitution decorator. Finally, docstrings can be appended to with the Appender decorator. In this example, we’ll create a parent docstring normally (this is like pandas.core ChildA(Parent): @Substitution(klass="ChildA") @Appender(Parent.my_function.__doc__) def my_function(self): ... class ChildB(Parent): @Substitution(klass="ChildB") @Appender(Parent.my_function.__doc__) def my_function(self): (things like klass, axes, etc). You can substitute and append in one shot with something like @Appender(template % _shared_doc_kwargs) def my_function(self): ... where template may come from a module-level0 码力 | 3091 页 | 10.16 MB | 1 年前3
 pandas: powerful Python data analysis toolkit - 1.0.4filled in later on using the Substitution decorator. Finally, docstrings can be appended to with the Appender decorator. In this example, we’ll create a parent docstring normally (this is like pandas.core ChildA(Parent): @Substitution(klass="ChildA") @Appender(Parent.my_function.__doc__) def my_function(self): ... class ChildB(Parent): @Substitution(klass="ChildB") @Appender(Parent.my_function.__doc__) def my_function(self): (things like klass, axes, etc). You can substitute and append in one shot with something like @Appender(template % _shared_doc_kwargs) def my_function(self): ... where template may come from a module-level0 码力 | 3081 页 | 10.24 MB | 1 年前3
 pandas: powerful Python data analysis toolkit - 0.24.0filled in later on using the Substitution decorator. Finally, docstrings can be appended to with the Appender decorator. In this example, we’ll create a parent docstring normally (this is like pandas.core ChildA(Parent): @Substitution(klass="ChildA") @Appender(Parent.my_function.__doc__) def my_function(self): ... class ChildB(Parent): @Substitution(klass="ChildB") @Appender(Parent.my_function.__doc__) def my_function(self): (things like klass, axes, etc). You can substitute and append in one shot with something like @Appender(template % _shared_doc_kwargs) def my_function(self): ... where template may come from a module-level0 码力 | 2973 页 | 9.90 MB | 1 年前3
 pandas: powerful Python data analysis toolkit -1.0.3filled in later on using the Substitution decorator. Finally, docstrings can be appended to with the Appender decorator. In this example, we’ll create a parent docstring normally (this is like pandas.core ChildA(Parent): @Substitution(klass="ChildA") @Appender(Parent.my_function.__doc__) def my_function(self): ... class ChildB(Parent): @Substitution(klass="ChildB") @Appender(Parent.my_function.__doc__) def my_function(self): (things like klass, axes, etc). You can substitute and append in one shot with something like @Appender(template % _shared_doc_kwargs) def my_function(self): ... where template may come from a module-level0 码力 | 3071 页 | 10.10 MB | 1 年前3
共 7 条
- 1
 













