Comments (3)
I did not know (or did not realize) this was possible. This is much nicer than messing with loader script!
The only issue is that the output can vary a little. Sometimes you'll get:
val it : Series<int, int> = Your
multiline
string
and sometimes you'll get
val it : Series<int, int> =
Your
multiline
string
It apparently depends on the type name - if it is too long, then F# adds linebreak and spaces on the next line. The Format
members always add \n
so things are aligned correctly, but sometimes there is a blank line. Still, I think this is better.
Also, I think not hiding the Format
member is fine - it is quite useful for debugging, even in C#. I did not add it as ToString
because I think ToString
should return some shorter info - perhaps just size & column names or something like that.
Keeping this open as we still need to add ToString
.
from deedle.
I agree that a ToString should include just some concise info.
I think it is bad for Format to be a property and not somehow hidden from the debugger, because you can end up with a large dataframe that screws up your debugger because it is producing a massive string when you explore its properties.
from deedle.
I tried using StructuredFormatDisplay
but that has other problems - in particular, the FSI does not call functions registered using fsi.AddPrintTransformer
on the type when it has the attribute.
This is used by internal BM tool that adds visualizer for all variables defined in FSI - so we need it for internal reasons (but it would be nice to have similar tool as open-source, so it makes sense to avoid closing that option too).
So I'm reverting this back to IFsiFormattable
with a load script...
from deedle.
Related Issues (20)
- Move to netstandard2.0 only and decouple from RProvider for now HOT 2
- Converted code to Deedle HOT 6
- Truncate part of a Frame HOT 1
- Sample code snippet and introduction for the fslab website HOT 2
- Signature of Matrix.dot is unnecessarily limited HOT 3
- Breaking change for Min/Max stats function between v2.1.0 and 2.1.1 HOT 2
- Frame.mapColValues is weirdly slow compared to mapping columns as series and joining with Frame.ofColumns HOT 1
- Frame.toArray2D throws a System.Format exception HOT 1
- Optionalvalue ignores culture
- "Select not supported" for GetRowsAs<'T>
- FSLab page out of date, not working HOT 1
- Unable to load text file with space seperated
- Stats.cov throws if Stats.stdDev contains missing values HOT 2
- Change melt to have optional parameters in line with Pandas DateFrame and R's data.table
- Deedle Finance.ewmVol is returning the rolling mean not the standard deviation HOT 1
- Exporting frames to a json
- Suggestion to distinct rows by specified columns HOT 2
- Series.windowSize throws IndexOutOfRangeException when size is bigger than input series length HOT 1
- About latest .net interactive
- Frame.ofRecords fails silently when underlaying record type is internal or private
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deedle.