#loading library 
import numpy as np

# Create a float array
array = np.array([-2.5, -1.8, 0.3, 1.5, 2.7])

# Round the elements away from zero using numpy.sign
result = np.sign(array) * np.ceil(np.abs(array))

# Print the resulting array
print(result)