31.9 F
Columbus
Monday, March 8, 2021

New in Datalore: S3 Buckets Support, Workspace Files, Two Inspiring Research Posts and Other Updates

This post was originally published on this site

Though this is our final blog post of 2020, we have a bunch of new Datalore updates we’d like to share, including the results of two major studies we recently conducted.

S3 buckets support

Here’s some more detail on how to benefit from the S3 bucket support, which we announced in this Pro plan updates blog post earlier this month.

Connecting and mounting an external S3 bucket will help you:

  • Extend the storage in Datalore.
  • Avoid uploading files to Datalore notebooks if you already store them in an S3 bucket.
  • Read and write files to a directory you can share with your team.

In Datalore, you can connect Amazon AWS S3 buckets or use the endpoint_url parameter to connect to other bucket providers from this list.

How to connect an S3 bucket in Datalore

Connect a private S3 bucket in Tools → Attached datasources. You will need to provide access keys, a bucket region, and a bucket name. You can find these parameters inside your bucket provider account.

Mount an S3 bucket

By default the bucket will be mounted with read/write access (rw) and your credentials will not be passed to the environment. You can change these parameters later.

Once attached to a notebook, the bucket will be available for other notebooks in the same workspace.

Mount an S3 bucket

Don’t forget to follow the prompt to restart the kernel.

After mounting the bucket, you can use bash commands to navigate and work with the file system, or directly type code like df = pd.read_csv("/data/my_datasource/my_file.csv”).

💡 Note that some buckets may take a while to mount. Please let us know if you encounter any problems.

To connect using boto3, follow these steps:

  1. Choose to pass credentials to the environment.
  2. Restart the kernel.
  3. In the datasource context menu choose Connect using boto3.
  4. Run the simple generated template code from the notebook that connects your S3 bucket using boto3.

Mount an S3 bucket

Connecting using boto3 might make it easier to work with large S3 buckets. Learn more from the boto3 documentation.

Workspace files

This month we implemented support for attaching data to workspaces. This will help you work with the same data files across several different notebooks without uploading the files multiple times.

Workspace files

To start working with Workspace, follow these steps:

  1. Upload files to the whole workspace from the Workspace files tab in the File system.
  2. Go to the Workspace tab inside the Attached files sidebar menu and click Attach workspace files.
  3. Don’t forget to follow the prompt to restart the kernel.
  4. Access files in the notebook code from the /data/workspace_files/ directory or select the file you need and click Copy file path to clipboard.

Workspace files

There are now four ways to work with data files inside Datalore:

  1. Attach data files directly to your notebook.
  2. Attach data files to the whole workspace.
  3. Mount your external S3 buckets.
  4. Download or generate data from the code.

Sharing notebooks with collapsed inputs

Try collapsing cell inputs if you want to share your notebook with your non-tech colleagues or show the results without displaying the code. We hope this feature will help you deliver cleaner reports.

To collapse cell inputs go to the View menu tab.

Workspace files

Optimizing imports with quick-fix

Datalore will highlight unused library imports and suggest removing them from the notebook.

Workspace files

Jupyter notebooks research and GPU specification analysis

In December we finalized two major researches of the last months:

For both studies, we created datasets and shared them publicly. Have a read through the posts and let us know what you think by mentioning us on Twitter.

If you have any feedback or feature suggestions, please email them to us at contact@datalore.jetbrains.com or post them on our forum.

We wish you a happy and safe new year full of inspiring projects!

Kind regards,
The Datalore Team

Related Articles

PhpStorm 2021.1 EAP #6

In this build, we’re adding support for prefixed table names in SQL queries. Read on to learn more. The Early Access Program is coming to...

The Overflow #63: What I wish I had known about single page applications

Welcome to ISSUE #63 of the Overflow! This newsletter is by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams at Netlify....

IntelliJ IDEA 2021.1 Goes Beta!

We’ve got great news to share with you today! After almost five weeks of the EAP, the Beta version of IntelliJ IDEA 2021.1 is...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

21,620FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -

Latest Articles

PhpStorm 2021.1 EAP #6

In this build, we’re adding support for prefixed table names in SQL queries. Read on to learn more. The Early Access Program is coming to...

The Overflow #63: What I wish I had known about single page applications

Welcome to ISSUE #63 of the Overflow! This newsletter is by developers, for developers, written and curated by the Stack Overflow team and Cassidy Williams at Netlify....

IntelliJ IDEA 2021.1 Goes Beta!

We’ve got great news to share with you today! After almost five weeks of the EAP, the Beta version of IntelliJ IDEA 2021.1 is...

Webinar Recording: Getting Started With Svelte in WebStorm

The recording from the Getting Started with Svelte in WebStorm webinar is now available on the JetBrainsTV YouTube channel! In this webinar, Paul Everitt, JetBrains...

WebStorm 2021.1 Beta: Improvements for Stylelint, Vue, and Version Control

WebStorm 2021.1 has reached the Beta milestone! You can upgrade to the latest build using the Toolbox App or from our website. To catch...