Comments (3)
@dgreiss I'm not convinced by this one, which I think I mentioned in Slack. The reason you can specify dtypes when reading from a csv is that the csv reader typically only reads a certain number of rows to infer the types, so it may get it wrong. When using DataFrame.from_map/1
you either pass in series directly or lists go through Series.from_list/1
which traverses the entire list.
from explorer.
I'm going to close this as wontfix, but please feel free to make a counterargument to the above if I'm off base here. Thanks!
from explorer.
Yep that makes sense thanks for clarifying. My thinking was that by providing the dtypes option, you would be manually casting the types and you would not need to traverse the entire Series to get the type info. If the user input was supplied incorrectly, it would raise when casting.
from explorer.
Related Issues (20)
- `mix ci` difficulties on MacOS as an Elixir beginner HOT 2
- `Explorer.Series.cut` crashes when series is a dataframe field HOT 1
- Add binding to str.slice and/or str.split and/or add trim/2 HOT 6
- `DataFrame.from_csv` incorrectly reads "NA" as `nil` HOT 2
- [Question] Linting Elixir code as an Elixir beginner HOT 1
- Pairwise operations HOT 2
- mutate only certain rows based on a filter? HOT 5
- It is not clear how to filter on categories HOT 3
- Aggregate a series to list in groupby HOT 2
- Missing behaviour on filtering DataFrames on categories. HOT 3
- &Explorer.DataFrame.print/2 does not print header names if no options is provided HOT 4
- Pass dtype to Series callbacks
- Use sink cloud versions of ipc HOT 7
- Date(time) to Calendar week
- Drop_nil for Series missing HOT 7
- Regex for Series.contains additional documentation needed. Perhaps not working?
- missing replace/3 expression HOT 1
- ** (FunctionClauseError) no function clause matching in Explorer.PolarsBackend.Shared.normalise_dtype/1 HOT 1
- Add a cheatsheet HOT 8
- Revisit `Series.mask` vs. `Series.filter` HOT 19
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 explorer.