Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
finam
Manage
Activity
Members
Labels
Plan
Issues
31
Issue boards
Milestones
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FINAM
finam
Merge requests
!270
Fix unquantified masked arrays loosing mask in fm.data.prepare()
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix unquantified masked arrays loosing mask in fm.data.prepare()
fix-lost-mask
into
main
Overview
0
Commits
2
Pipelines
2
Changes
4
Merged
Martin Lange
requested to merge
fix-lost-mask
into
main
1 year ago
Overview
0
Commits
2
Pipelines
2
Changes
4
Expand
Fixes
#115 (closed)
👍
0
👎
0
Merge request reports
Compare
main
version 1
dda966a3
1 year ago
main (base)
and
latest version
latest version
3816491d
2 commits,
1 year ago
version 1
dda966a3
1 commit,
1 year ago
4 files
+
33
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/finam/data/tools.py
+
1
−
1
Options
@@ -77,7 +77,7 @@ def prepare(data, info, time_entries=1, force_copy=False, report_conversion=Fals
# this covers masked arrays as well
if
isinstance
(
data
,
np
.
ndarray
):
if
force_copy
:
data
=
np
.
copy
(
data
)
data
=
data
.
copy
()
data
=
UNITS
.
Quantity
(
data
,
units
)
else
:
if
force_copy
:
Loading