Skip to content

CLN:Remove unused **kwargs from user facing methods #23249

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

Merged
merged 7 commits into from
Nov 12, 2018
Merged
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
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