Skip to content

Commit

Permalink
formatting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
11rohans authored and devin-petersohn committed Sep 23, 2018
1 parent 36b10d5 commit 4f925af
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions modin/data_management/data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def numeric_columns(self):

def numeric_function_clean_dataframe(self, axis):
"""Preprocesses numeric functions to clean dataframe and pick numeric indices.
Args:
axis: '0' if columns and '1' if rows.
Expand Down Expand Up @@ -1042,9 +1042,9 @@ def astype(df, internal_indices=[]):
def full_axis_reduce(self, func, axis):
"""Applies map that reduce Manager to series but require knowledge of full axis.
Args:
Args:
func: Function to reduce the Manager by. This function takes in a Manager.
Return:
Pandas series containing the reduced data.
"""
Expand All @@ -1063,7 +1063,7 @@ def all(self, **kwargs):
Args:
axis: 0 for columns and 1 for rows. Defaults to 0.
Return:
Return:
Pandas Series containing boolean values.
"""
axis = kwargs.get("axis", 0)
Expand All @@ -1075,7 +1075,7 @@ def any(self, **kwargs):
Args:
axis: 0 for columns and 1 for rows. Defaults to 0.
Return:
Pandas Series containing boolean values.
"""
Expand Down Expand Up @@ -1222,7 +1222,7 @@ def full_axis_reduce_along_select_indices(self, func, axis, index, pandas_result
axis: 0 for columns and 1 for rows. Defaults to 0.
index: Index of the resulting series.
pandas_result: Return the result as a Pandas Series instead of raw data.
Returns:
Either a Pandas Series with index or BlockPartitions object.
"""
Expand All @@ -1248,7 +1248,7 @@ def describe(self, **kwargs):
"""
axis = 0

# Only describe numeric if there are numeric
# Only describe numeric if there are numeric
# Otherwise, describe all
new_index = self.numeric_columns()
if len(new_index) != 0:
Expand Down Expand Up @@ -1602,7 +1602,7 @@ def map_across_full_axis_select_indices(self, axis, func, indices, keep_remainin
BlockPartitions containing the result of mapping func over axis on indices.
"""
return self.data.apply_func_to_select_indices_along_full_axis(axis, func, indices, keep_remaining)


def quantile_for_list_of_values(self, **kwargs):
"""Returns Manager containing quantiles along an axis for numeric columns.
Expand Down

0 comments on commit 4f925af

Please sign in to comment.