Kotlin / Kotlin/dataframe

Migrate Netflix notebook to Beta-5

Open
#1,591 0 comments 0 reactions 1 assignee Claimed by @AndreiKingsley View on GitHub
examples
Dominant language
Kotlin
Stars
1.1k
Forks
83
Avg merge
4d 12h
Merged PRs (30d)
30

Description

Now it's failed in the section ## Lifetimes and Release Times
with the message

```

at Cell In[23], line 38, column 13: The integer literal does not conform to the expected type Double
at Cell In[23], line 38, column 16: The integer literal does not conform to the expected type Double
at Cell In[23], line 38, column 19: The integer literal does not conform to the expected type Double
at Cell In[23], line 38, column 24: The integer literal does not conform to the expected type Double
at Cell In[23], line 39, column 13: The integer literal does not conform to the expected type Double
at Cell In[23], line 39, column 18: The integer literal does not conform to the expected type Double
at Cell In[23], line 39, column 21: The integer literal does not conform to the expected type Double
at Cell In[23], line 39, column 26: The integer literal does not conform to the expected type Double

```

If you just fix with

```
plotBunch {
add(p1, 0.0, 0.0, 500.0, 450.0)
add(p2, 500.0, 0.0, 500.0, 450.0)
}

```

The

Image

plot is empty

Also, a problem with datetime

```
val cast_df = df
.split { cast }.by(',').inplace()
.add("size_cast") { "cast">().size }
// Since we need the time in milliseconds since epoch for the plots, let's convert date_added to an Instant
.convert { date_added }.with { it.atStartOfDayIn(TimeZone.UTC) }
cast_df

at Cell In[33], line 6, column 29: This declaration needs opt-in. Its usage must be marked with '@kotlin.time.ExperimentalTime' or '@OptIn(kotlin.time.ExperimentalTime::class)'
at Cell In[33], line 6, column 39: This declaration needs opt-in. Its usage must be marked with '@kotlin.time.ExperimentalTime' or '@OptIn(kotlin.time.ExperimentalTime::class)'

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.