arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [1/2] arrow git commit: ARROW-432: [Python] Construct precise pandas BlockManager structure for zero-copy DataFrame initialization
Date Fri, 23 Dec 2016 22:29:27 GMT
Repository: arrow
Updated Branches:
  refs/heads/master fd4eb98af -> 65af9ea16


http://git-wip-us.apache.org/repos/asf/arrow/blob/65af9ea1/python/src/pyarrow/numpy_interop.h
----------------------------------------------------------------------
diff --git a/python/src/pyarrow/numpy_interop.h b/python/src/pyarrow/numpy_interop.h
index 882d287..6326527 100644
--- a/python/src/pyarrow/numpy_interop.h
+++ b/python/src/pyarrow/numpy_interop.h
@@ -53,6 +53,6 @@ inline int import_numpy() {
   return 0;
 }
 
-} // namespace pyarrow
+}  // namespace pyarrow
 
-#endif // PYARROW_NUMPY_INTEROP_H
+#endif  // PYARROW_NUMPY_INTEROP_H

http://git-wip-us.apache.org/repos/asf/arrow/blob/65af9ea1/python/src/pyarrow/util/datetime.h
----------------------------------------------------------------------
diff --git a/python/src/pyarrow/util/datetime.h b/python/src/pyarrow/util/datetime.h
index b67accc..9ffa691 100644
--- a/python/src/pyarrow/util/datetime.h
+++ b/python/src/pyarrow/util/datetime.h
@@ -22,8 +22,8 @@
 #include <datetime.h>
 
 namespace pyarrow {
-  
-inline int64_t PyDate_to_ms(PyDateTime_Date* pydate) { 
+
+inline int64_t PyDate_to_ms(PyDateTime_Date* pydate) {
   struct tm date = {0};
   date.tm_year = PyDateTime_GET_YEAR(pydate) - 1900;
   date.tm_mon = PyDateTime_GET_MONTH(pydate) - 1;
@@ -35,6 +35,6 @@ inline int64_t PyDate_to_ms(PyDateTime_Date* pydate) {
   return lrint(difftime(mktime(&date), mktime(&epoch)) * 1000);
 }
 
-} // namespace pyarrow
+}  // namespace pyarrow
 
-#endif // PYARROW_UTIL_DATETIME_H
+#endif  // PYARROW_UTIL_DATETIME_H

http://git-wip-us.apache.org/repos/asf/arrow/blob/65af9ea1/python/src/pyarrow/util/test_main.cc
----------------------------------------------------------------------
diff --git a/python/src/pyarrow/util/test_main.cc b/python/src/pyarrow/util/test_main.cc
index 00139f3..6fb7c05 100644
--- a/python/src/pyarrow/util/test_main.cc
+++ b/python/src/pyarrow/util/test_main.cc
@@ -17,7 +17,7 @@
 
 #include <gtest/gtest.h>
 
-int main(int argc, char **argv) {
+int main(int argc, char** argv) {
   ::testing::InitGoogleTest(&argc, argv);
 
   int ret = RUN_ALL_TESTS();


Mime
View raw message