Skip to content

Commit 078ba95

Browse files
kkraus14jreback
authored andcommitted
black
1 parent 21a071f commit 078ba95

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

pandas/io/orc.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ def read(self, path, columns=None, **kwargs):
8080
py_file = self.api.input_stream(path)
8181
orc_file = self.api.orc.ORCFile(py_file)
8282

83-
result = orc_file.read(
84-
columns=columns, **kwargs
85-
).to_pandas()
83+
result = orc_file.read(columns=columns, **kwargs).to_pandas()
8684

8785
return result
8886

pandas/tests/io/test_orc.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ def test_orc_reader_basic(dirpath, engine):
111111
"byte1": np.array([1, 100], dtype="int8"),
112112
"short1": np.array([1024, 2048], dtype="int16"),
113113
"int1": np.array([65536, 65536], dtype="int32"),
114-
"long1": np.array(
115-
[9223372036854775807, 9223372036854775807], dtype="int64"
116-
),
114+
"long1": np.array([9223372036854775807, 9223372036854775807], dtype="int64"),
117115
"float1": np.array([1.0, 2.0], dtype="float32"),
118116
"double1": np.array([-15.0, -5.0], dtype="float64"),
119117
"bytes1": np.array([b"\x00\x01\x02\x03\x04", b""], dtype="object"),

0 commit comments

Comments
 (0)