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

[SEDONA-476] Fixed package names of SedonaKepler and SedonaPyDeck; do not require IPython to be installed to import sedona.spark #1260

Merged
merged 1 commit into from
Feb 28, 2024
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
3 changes: 1 addition & 2 deletions python/sedona/raster_utils/SedonaUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@
# specific language governing permissions and limitations
# under the License.

from IPython.display import display, HTML

class SedonaUtils:
@classmethod
def display_image(cls, df):
from IPython.display import display, HTML
display(HTML(df.toPandas().to_html(escape=False)))
3 changes: 2 additions & 1 deletion python/sedona/spark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,5 @@
from sedona.register import SedonaRegistrator
from sedona.spark.SedonaContext import SedonaContext
from sedona.raster_utils.SedonaUtils import SedonaUtils
from sedona.maps import SedonaKepler, SedonaPyDeck
from sedona.maps.SedonaKepler import SedonaKepler
from sedona.maps.SedonaPyDeck import SedonaPyDeck
Loading