Skip to content
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

CLN remove unnecessary trailing commas in pandas/io #36052

Merged
merged 3 commits into from
Sep 3, 2020
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pandas/io/sas/sas_xport.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class XportReader(ReaderBase, abc.Iterator):
__doc__ = _xport_reader_doc

def __init__(
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None,
self, filepath_or_buffer, index=None, encoding="ISO-8859-1", chunksize=None
):

self._encoding = encoding
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/stata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1980,7 +1980,7 @@ def _open_file_binary_write(
compression_typ = infer_compression(fname, compression_typ)
compression = dict(compression_args, method=compression_typ)
ioargs = get_filepath_or_buffer(
fname, mode="wb", compression=compression, storage_options=storage_options,
fname, mode="wb", compression=compression, storage_options=storage_options
)
f, _ = get_handle(
ioargs.filepath_or_buffer,
Expand Down