Skip to content

Commit

Permalink
CLN:Remove unused **kwargs from user facing methods (pandas-dev#23249)
Browse files Browse the repository at this point in the history
  • Loading branch information
kprestel authored and JustinZhengBC committed Nov 14, 2018
1 parent 92b015d commit 519de0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pandas/io/pytables.py
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ def cvalues(self):
def __iter__(self):
return iter(self.values)

def maybe_set_size(self, min_itemsize=None, **kwargs):
def maybe_set_size(self, min_itemsize=None):
""" maybe set a string col itemsize:
min_itemsize can be an integer or a dict with this columns name
with an integer size """
Expand All @@ -1687,13 +1687,13 @@ def maybe_set_size(self, min_itemsize=None, **kwargs):
self.typ = _tables(
).StringCol(itemsize=min_itemsize, pos=self.pos)

def validate(self, handler, append, **kwargs):
def validate(self, handler, append):
self.validate_names()

def validate_names(self):
pass

def validate_and_set(self, handler, append, **kwargs):
def validate_and_set(self, handler, append):
self.set_table(handler.table)
self.validate_col()
self.validate_attr(append)
Expand Down Expand Up @@ -3772,7 +3772,7 @@ def read_coordinates(self, where=None, start=None, stop=None, **kwargs):

return Index(coords)

def read_column(self, column, where=None, start=None, stop=None, **kwargs):
def read_column(self, column, where=None, start=None, stop=None):
"""return a single column from the table, generally only indexables
are interesting
"""
Expand Down Expand Up @@ -4727,7 +4727,7 @@ class Selection(object):
"""

def __init__(self, table, where=None, start=None, stop=None, **kwargs):
def __init__(self, table, where=None, start=None, stop=None):
self.table = table
self.where = where
self.start = start
Expand Down

0 comments on commit 519de0b

Please sign in to comment.