Skip to content

Commit 8a7ecee

Browse files
kprestelWillAyd
authored andcommitted
CLN:Remove unused **kwargs from user facing methods (#23249)
1 parent dcb8b6a commit 8a7ecee

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/io/pytables.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -1674,7 +1674,7 @@ def cvalues(self):
16741674
def __iter__(self):
16751675
return iter(self.values)
16761676

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

1690-
def validate(self, handler, append, **kwargs):
1690+
def validate(self, handler, append):
16911691
self.validate_names()
16921692

16931693
def validate_names(self):
16941694
pass
16951695

1696-
def validate_and_set(self, handler, append, **kwargs):
1696+
def validate_and_set(self, handler, append):
16971697
self.set_table(handler.table)
16981698
self.validate_col()
16991699
self.validate_attr(append)
@@ -3772,7 +3772,7 @@ def read_coordinates(self, where=None, start=None, stop=None, **kwargs):
37723772

37733773
return Index(coords)
37743774

3775-
def read_column(self, column, where=None, start=None, stop=None, **kwargs):
3775+
def read_column(self, column, where=None, start=None, stop=None):
37763776
"""return a single column from the table, generally only indexables
37773777
are interesting
37783778
"""
@@ -4727,7 +4727,7 @@ class Selection(object):
47274727
47284728
"""
47294729

4730-
def __init__(self, table, where=None, start=None, stop=None, **kwargs):
4730+
def __init__(self, table, where=None, start=None, stop=None):
47314731
self.table = table
47324732
self.where = where
47334733
self.start = start

0 commit comments

Comments
 (0)