Skip to content

Commit

Permalink
Respond to review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Mar 15, 2024
1 parent 142ee80 commit bd0506b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions py/server/deephaven/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ def _column_to_numpy_array(col_def: Column, j_array: jpy.JType) -> np.ndarray:
""" Produces a numpy array from the given Java array and the Table column definition.
Args:
col_def:
j_array:
col_def (Column): the column definition
j_array (jpy.JType): the Java array
Returns:
np.ndarray
Raises:
DHError
"""
try:
return _j_array_to_numpy_array(col_def.data_type, j_array, conv_null=False, type_promotion=False)
Expand Down

0 comments on commit bd0506b

Please sign in to comment.