Julia Programming Language
Does indexing over a subset of rows in a DataFrame return a view or a copy?
New to Julia
pdeffebach
September 5, 2020, 5:57pm
2
A copy.
You can do
@view df[my_rows_of_interest, :]
for a
view
.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
View and @view in DataFrames
Data
dataframes
,
views
2
1524
February 17, 2022
! vs @view for indexing DataFrame
Data
dataframes
5
400
October 29, 2022
New Dataframe Column from a View from Another DataFrames
General Usage
data
,
dataframes
1
399
January 26, 2021
Rename columns in view
General Usage
dataframes
,
views
4
398
August 4, 2022
Indexing DataFrame with : does not generate a copy
Specific Domains
dataframes
2
789
March 17, 2022